Skip to content

Make sure kernel parameters are aligned#20639

Open
jenshannoschwalm wants to merge 1 commit intodarktable-org:masterfrom
jenshannoschwalm:fix_opencl_float4
Open

Make sure kernel parameters are aligned#20639
jenshannoschwalm wants to merge 1 commit intodarktable-org:masterfrom
jenshannoschwalm:fix_opencl_float4

Conversation

@jenshannoschwalm
Copy link
Collaborator

If a kernel uses a float4 parameters that should be passed via CLARG() as that makes sure it's aligned to it's size on the parameter stack and we can avoid the CLFLARRAY() macro.

If a kernel uses a float4 parameters that should be passed via CLARG() as that makes sure
it's aligned to it's size on the parameter stack and we can avoid the CLFLARRAY() macro.
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.

1 participant