Creates the OpenCL program kernel and returns its handle.
[in] Handle to an object of the OpenCL program.
[in] The name of the kernel function in the appropriate OpenCL program, in which execution begins.
A handle to an OpenCL object if successful. In case of error -1 is returned. For information about the error, use the GetLastError() function.
At the moment, the following error codes are used: