Jack Lovell

Results 54 comments of Jack Lovell

In Cherab we have the ability to report test coverage using `coverage.py`, courtesy of https://github.com/cherab/core/pull/155. It would be an almost straight copy of this PR (with s/cherab/raysect/) to provide the...

Attached are two straces. The first is running the following command, without specifying the `OCL_ICD_VENDORS` variable: ```bash strace python -c 'import pyopencl; pyopencl.get_platforms()' ``` The second is with setting the...

```bash (pocl-venv) jlovell@jlovell-thinkpad:~$ OCL_ICD_DEBUG=7 python -c 'import pyopencl; pyopencl.get_platforms()' ocl-icd(ocl_icd_loader.c:737): __initClIcd: Reading icd list from '/etc/OpenCL/vendors' ocl-icd(ocl_icd_loader.c:1029): clGetPlatformIDs: return: -1001/0xfffffffffffffc17 Traceback (most recent call last): File "", line 1, in...

Definitely using the wheel-provided libOpenCL too, so it should have the patch you mentioned. Grepping that SO does indicate it has `PYOPENCL_HOME` inside the library. ```bash (pocl-venv) jlovell@jlovell-thinkpad:~$ ldd /tmp/pocl-venv/lib/python3.8/site-packages/pyopencl/_cl.cpython-38-x86_64-linux-gnu.so...

I've been able to reproduce this using Github Actions: compare https://github.com/cherab/core/runs/5290607772?check_suite_focus=true where I didn't properly set the `OCL_ICD_VENDORS` environment variable for the job with https://github.com/cherab/core/runs/5291207783?check_suite_focus=true where I managed to do...

Update: the workaround of manually setting `OCL_ICD_VENDORS` no longer works with pyopencl 2022.2.3

Seems to work with the wheels in the #635 build artifacts, thanks! Took a bit of trial and error, as I hadn't realised that the pocl ICD was added to...

> Cython currently generates tons of warnings about deprecated DEF statements. However, I think that so far there is no adequate replacement for them. Although many of these statements can...

Wouldn't this mean these observers would silently ignore any options they don't support? Sounds like that would be more likely to lead to unexpected behaviour. In the example above, an...

Thanks for this @vsnever: we're still stuck on Python 3.7 here at Culham and so don't get to experience these Scipy "improvements" often. Accuracy and performance regressions in a library...