SetArgument
Sets a parameter for the OpenCL function at the specified index.
template<typename T>
bool SetArgument(
const int kernel_index,
const int arg_index,
T value
);
|
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