- BufferCreate
- BufferFree
- BufferFromArray
- BufferRead
- BufferWrite
- Execute
- GetContext
- GetKernel
- GetKernelName
- GetProgram
- Initialize
- KernelCreate
- KernelFree
- SetArgument
- SetArgumentBuffer
- SetArgumentLocalMemory
- SetBuffersCount
- SetKernelsCount
- Shutdown
- SupportDouble
SetArgument
Sets a parameter for the OpenCL function at the specified index.
template<typename T>
|
Parameters
kernel_index
[in] Index of the kernel object.
arg_index
[in] Index of the function argument.
value
[in] The value of the function argument.
Return Value
In case of successful execution, returns true, otherwise - false.