PDA

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



shahsaurabh1990
01-31-2013, 11:27 PM
How do we set the kernel argument for the local memory in the host code???

matthiasv
01-31-2013, 11:35 PM
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.