4 Replies Latest reply on Oct 15, 2009 8:50 PM by mjharvey

    beta4 problem: clSetKernelArg and zero-length __local argument

      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.