You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When PYOPENCL_NO_CACHE=1, the invoker cache is always created when importing pyopencl.invoker. Furthermore, it is written to every time an invoker is created. PYOPENCL_NO_CACHE only seems to control reads.
To Reproduce
Steps to reproduce the behavior:
Delete all caches.
Run python3 with the PYOPENCL_NO_CACHE environment variable set to 1.
Import pyopencl and run a kernel.
Observe that the invoker cache now exists.
Expected behavior
When PYOPENCL_NO_CACHE=1, no attempts should be made to read caches, write caches, create caches, lock caches, or check whether caches exist.
Environment:
OS: Linux
ICD Loader and version: ocl-icd 2.3.2
ICD and version: pocl 6.0, NVIDIA 550.90.07
x86-64, NVIDIA A6000
Python version: 3.12.4
PyOpenCL version: 2024.1
The text was updated successfully, but these errors were encountered:
When
PYOPENCL_NO_CACHE=1
, the invoker cache is always created when importingpyopencl.invoker
. Furthermore, it is written to every time an invoker is created.PYOPENCL_NO_CACHE
only seems to control reads.To Reproduce
Steps to reproduce the behavior:
python3
with thePYOPENCL_NO_CACHE
environment variable set to1
.pyopencl
and run a kernel.Expected behavior
When
PYOPENCL_NO_CACHE=1
, no attempts should be made to read caches, write caches, create caches, lock caches, or check whether caches exist.Environment:
The text was updated successfully, but these errors were encountered: