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 memory requirement calculation #17608

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

jenshannoschwalm
Copy link
Collaborator

  1. Make sure in & output cl buffers are taken into account even if input is existing
  2. Fix requirements for guided masking filter
  3. Fix requirements for details mask. (requirements must be based on details->roi)
  4. The log gets information about required memory via -d pipe

Inspired by #17569

Checked this also on my intel 630 notebook without issues. Checked the blur OpenCL code and couldn't spot anything suspicious yet, also not for the blend guided filter exept the wrong requirements calculations.

1. Make sure in & output cl buffers are taken into account even if input is existing
2. Fix requirements for guided masking filter
3. Fix requirements for details mask. (requirements must be based on details->roi)
4. The log gets information about required memory via -d pipe
@jenshannoschwalm jenshannoschwalm added bugfix pull request fixing a bug priority: high core features are broken and not usable at all, software crashes scope: image processing correcting pixels OpenCL Related to darktable OpenCL code labels Oct 6, 2024
@jenshannoschwalm jenshannoschwalm added this to the 5.0 milestone Oct 6, 2024
Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, thanks!

@TurboGit TurboGit merged commit 753d548 into darktable-org:master Oct 6, 2024
6 checks passed
@jenshannoschwalm jenshannoschwalm deleted the mask_tiling branch October 6, 2024 10:18
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 priority: high core features are broken and not usable at all, software crashes scope: image processing correcting pixels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants