PDA

View Full Version : Setting the kernel argument for the local memory



shahsaurabh1990
02-01-2013, 12:27 AM
How do we set the kernel argument for the local memory in the host code???

matthiasv
02-01-2013, 12:35 AM
Please, read the specification and manuals the next time you ask questions that can be answered by a more thorough investigation. It's not that hard and you save people's time.

If you'd done so, you would read for clSetKernelArg: If the argument is declared with the __local qualifier, the arg_value entry must be NULL.