concept clsetkernelarg in category opencl
appears as: clSetKernelArg

This is an excerpt from Manning's book OpenCL in Action: How to Accelerate Graphics and Computation.
Chapter 2 explained how to create kernels from functions, but it didn’t discuss how to set arguments for the functions. This is accomplished by using clSetKernelArg, whose signature is as follows: