Amplifier.NET icon indicating copy to clipboard operation
Amplifier.NET copied to clipboard

No way to set a __constant or __local parameters for the kernel

Open Drejzer opened this issue 3 years ago • 0 comments

As far as I can see, there is no way to declare a constant/local array parameter for the kernel.

No attributes in the kernel declaration results in an error satin that all pointers must be either __global, __constant or __local.

The docs do not mention anything, and there doesn't seem to be an equivalent attribute for the second and third of the above-mentioned kinds.

Drejzer avatar Aug 14 '22 18:08 Drejzer