Skip to content

Avoid image copy in vng opencl code#20100

Closed
jenshannoschwalm wants to merge 1 commit intodarktable-org:masterfrom
jenshannoschwalm:less_opencl_vng_copy
Closed

Avoid image copy in vng opencl code#20100
jenshannoschwalm wants to merge 1 commit intodarktable-org:masterfrom
jenshannoschwalm:less_opencl_vng_copy

Conversation

@jenshannoschwalm
Copy link
Copy Markdown
Collaborator

We had some image copy operations while doing the vng opencl processing. Removed them for performance, no additional cl_mem is used.

Minor renaming and additional comments to make code understandable.

@jenshannoschwalm jenshannoschwalm added scope: performance doing everything the same but faster OpenCL Related to darktable OpenCL code labels Jan 7, 2026
@TurboGit
Copy link
Copy Markdown
Member

TurboGit commented Jan 7, 2026

I don't think this fit in 5.4.1 as not a bug. Only if the performance improvement is quite important we may consider this for 5.4.1. So what you're take on this @jenshannoschwalm ?

@jenshannoschwalm
Copy link
Copy Markdown
Collaborator Author

Its pretty small so only to master.

@TurboGit TurboGit added this to the 5.6 milestone Jan 7, 2026
@jenshannoschwalm jenshannoschwalm force-pushed the less_opencl_vng_copy branch 2 times, most recently from baad13c to 77dc1e7 Compare January 13, 2026 10:34
We had some image copy operations while doing the vng opencl processing.
Removed them for performance, no additional cl_mem is used.

Minor renaming and additional comments to make code understandable.
@jenshannoschwalm jenshannoschwalm marked this pull request as draft January 31, 2026 09:58
@jenshannoschwalm
Copy link
Copy Markdown
Collaborator Author

Marked as draft as will be rebased after the other OpenCL stuff got merged

@jenshannoschwalm
Copy link
Copy Markdown
Collaborator Author

We don't need this as it's integrated - in a better way - in #20211

@jenshannoschwalm jenshannoschwalm deleted the less_opencl_vng_copy branch February 1, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OpenCL Related to darktable OpenCL code scope: performance doing everything the same but faster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants