inducer / loopy

A code generator for array-based code on CPUs and GPUs
http://mathema.tician.de/software/loopy
MIT License
565 stars 71 forks source link

{LOOPY,CG}_NO_CACHE: allow re-enabling the cache with False value #838

Closed matthiasdiener closed 2 months ago

matthiasdiener commented 2 months ago

cc: https://github.com/inducer/pyopencl/pull/737

Note: In contrast to pyopencl, loopy caching can be enabled/disabled during execution; as far as I can tell there is no good way to avoid creating the empty caches when running with an environment variable set to disabling caching at startup.