Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few OpenCL fixes #18065

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jenshannoschwalm
Copy link
Collaborator

  1. In globaltonemap the OpenCL code was most likely disabled as we checked for micro_nap instead of avoid_atomics
  2. Included dt_iop_nap in dt_opencl_micro_nap(), it's api has changed to void dt_opencl_micro_nap(const int devid)
  3. In atrous we didn't properly check for the per-device nap
  4. Corrected a few OpenCL error codes

Would also be safe for 5.0 branch but certainly not required for stability, globaltonemap is not used often and atrous is only affected in case you have multiple devices.

Nothing worth to mention in release notes i think.

1. In globaltonemap the OpenCL code was most likely disabled as we checked for micro_nap instead of avoid_atomics
2. Included dt_iop_nap in dt_opencl_micro_nap(), it's api has changed to `void dt_opencl_micro_nap(const int devid)`
3. In atrous we didn't properly check for the per-device nap
4. Corrected a few OpenCL error codes
@jenshannoschwalm jenshannoschwalm added priority: low core features work as expected, only secondary/optional features don't difficulty: trivial some changes in a couple of functions OpenCL Related to darktable OpenCL code labels Dec 25, 2024
@jenshannoschwalm jenshannoschwalm added this to the 5.2 milestone Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: trivial some changes in a couple of functions OpenCL Related to darktable OpenCL code priority: low core features work as expected, only secondary/optional features don't
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant