Tests fail on FreeBSD
============================================================================ test session starts ============================================================================
platform freebsd11 -- Python 3.6.6, pytest-3.6.4, py-1.6.0, pluggy-0.6.0
rootdir: /usr/ports/devel/py-pyopencl/work-py36/pyopencl-2018.2, inifile:
collected 207 items
test_algorithm.py *** Signal 6
OS: FreeBSD 11.2 amd64 py-pyopencl-2018.2
- With what OpenCL implemenation (ICD)?
- Could you run with
python -m pytest -v --capture=no?
Also, is this a regression, i.e. did 2018.1.x work?
With what OpenCL implemenation (ICD)?
Number of platforms 1
Platform Name Portable Computing Language
Platform Vendor The pocl project
Platform Version OpenCL 2.0 pocl 0.14, LLVM 4.0.1
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix POCL
Could you run with python -m pytest -v --capture=no?
============================================================================ test session starts ============================================================================
platform freebsd11 -- Python 2.7.15, pytest-3.6.4, py-1.6.0, pluggy-0.6.0 -- /usr/local/bin/python2.7
cachedir: ../.pytest_cache
rootdir: /usr/ports/devel/py-pyopencl/work-py27/pyopencl-2018.2, inifile:
collected 207 items
test_algorithm.py::test_elwise_kernel[<context factory for <pyopencl.Device 'Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz' on 'Portable Computing Language'>] Assertion failed: (has_meta_for_every_arg && "kernel_arg_addr_space meta incomplete"), function int pocl_get_kernel_arg_function_metadata(const char *, llvm::Module *, cl_kernel), file /wrkdirs/usr/ports/lang/pocl/work/pocl-0.14/lib/CL/pocl_llvm_api.cc, line 748.
*** Signal 6
Also, is this a regression, i.e. did 2018.1.x work?
2018.1.1 also had this problem.
This looks like pocl may have an issue, more than pyopencl. Does pocl work with a hello-world-level OpenCL program (in C)?
Hello-world program from this site works: https://us.fixstars.com/opencl/book/OpenCLProgrammingBook/first-opencl-program/
Could you compile PyOpenCL with tracing and figure out which call fails?