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

Fix wrong OpenCL error code in retouch #18032

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

Conversation

jenshannoschwalm
Copy link
Collaborator

@jenshannoschwalm jenshannoschwalm commented Dec 20, 2024

To correctly report an allocation error in OpenCL path we must get an error flag from rt_build_scaled_mask() as the mask==NULL is not an error condition at all. Avoids a CPU fallback ...

Various: Use size_t to support large images, some constify, a simple simplification

Fixes #18029

To correctly report an allocation error in OpenCL path we must get an error flag from
rt_build_scaled_mask() as the mask==NULL is not an error condition at all.

Various: Use size_t to support large images, some constify, a simple simplification
@jenshannoschwalm jenshannoschwalm added bugfix pull request fixing a bug OpenCL Related to darktable OpenCL code labels Dec 20, 2024
@jenshannoschwalm jenshannoschwalm added this to the 5.0.1 milestone Dec 20, 2024
@pehar1
Copy link

pehar1 commented Dec 20, 2024

Works for me, thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix pull request fixing a bug OpenCL Related to darktable OpenCL code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crop module throws errors : rt_build_scaled_mask_cl error
2 participants