beta4 problem: clSetKernelArg and zero-length __local argument

Discussion created by mjharvey on Oct 15, 2009
Latest reply on Oct 15, 2009 by mjharvey
beta4 problem



When adding a local memory region as a kernel argument using:

clSetKernelArg( kernel, argnum, len, NULL );

Error -51 (CL_INVALID_ARG_SIZE) is return if len==0.

Don't know if this conforms to the spec, but it is different behaviour to the Nvidia conformance release.