Skip to content

Disable OpenCL Cache system

The OpenCL cache system leads to the failure of certain operations and was identified as the cause of certain segmentation faults. It was decided to disable the cache system. The code has been kept back for debugging purposes. In my testing, I did not feel a significant change in speed with it disabled. The system needs a revisit as it broke gegl:focus-blur. This closes #252 but opens #383 as a new issue. This possibly addresses all the OpenCL crashes as re-enabling cache and fiddling with sliders of gegl:noise-hsv caused a crash in my testing however, it did not cause a crash after fiddling for a very long time when disabled.

Code changes:

  • The #ifdef has been changed to #if to make it clearer.

System Info:

  • OS: Ubuntu 22.04
  • CPU: Ryzen 7 6800H
  • GPU: Nvidia RTX 3050 4GB
  • Memory: 16GB DDR5
Edited by Varun Samaga B L

Merge request reports