Hi,
I try to allocate a "local" buffer for a kernel (on the CPU), its size is 1024 bytes.
My buffer is the "temp" buffer. When I set the kernel argument I receive an error code (-50) which mean "Invalid argument value". Does someone has an idea ?
If I use "__global" I have no error !!! It works on a poor graphic card (from another company than ATI). So, I'm surprise to receive this error on the CPU !
__kernel void kernel__ExclusivePrefixScan(..., __local T* temp, ...)