Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#66930 - [python-pyopencl] OpenCL version pinned to 1.2, no 2.0 features
Attached to Project:
Community Packages
Opened by Torsten Keßler (tpkessler) - Sunday, 07 June 2020, 15:43 GMT
Last edited by freswa (frederik) - Sunday, 07 June 2020, 23:38 GMT
Opened by Torsten Keßler (tpkessler) - Sunday, 07 June 2020, 15:43 GMT
Last edited by freswa (frederik) - Sunday, 07 June 2020, 23:38 GMT
|
DetailsDescription:
OpenCL 2.0 features as delivered by AMD through rocm-opencl-runtime (from the AUR) are not enabled in python-pyopencl. This is due to forcing version 1.2 during the configuration: build() { cd "pyopencl" git submodule init && git submodule update python3 ./configure.py --python-exe=python3 --cl-pretend-version=1.2 # --boost-python-libname=boost_python3 make } Additional info: * package version 2020.1-1 Steps to reproduce: $ python -c 'import pyopencl as cl;print(cl.get_cl_header_version())' prints (1,2) regardless of the installed OpenCL runtime / headers. For me: $ clinfo | grep Version Platform Version OpenCL 2.0 AMD-APP.dbg (3137.0) Device Version OpenCL 2.0 Driver Version 3137.0 (HSA1.1,LC) Device OpenCL C Version OpenCL C 2.0 |
This task depends upon