- CLHandleType
- CLGetInfoInteger
- CLGetInfoString
- CLContextCreate
- CLContextFree
- CLGetDeviceInfo
- CLProgramCreate
- CLProgramFree
- CLKernelCreate
- CLKernelFree
- CLSetKernelArg
- CLSetKernelArgMem
- CLSetKernelArgMemLocal
- CLBufferCreate
- CLBufferFree
- CLBufferWrite
- CLBufferRead
- CLExecute
- CLExecutionStatus
CLSetKernelArgMemLocal
Sets the local buffer as an argument of the kernel function.
bool CLSetKernelArgMemLocal(
|
Parameters
kernel
[in] Handle to a kernel of the OpenCL program.
arg_index
[in] The number of the function argument, numbering starts with zero.
local_mem_size
[in] Buffer size in bytes.
Return Value
Returns true if successful, otherwise returns false. For information about the error, use the GetLastError() function.