search for: cl_invalid_kernel_name

Displaying 1 result from an estimated 1 matches for "cl_invalid_kernel_name".

2010 Dec 24
0
[LLVMdev] OpenCL support
...n a different view on this. At the moment, I can think of 3 cases when kernel information can be required: a) clCreateKernel() is called with a kernel function name. The compiler needs to look-up metadata for this particular function, because if the function is not a kernel the user must get an CL_INVALID_KERNEL_NAME error. In this case, your approach is superior because you don't have to search the list (or about the same if the list has only one entry :)) b) clCreateKernelsInProgram() is called. The compiler then needs to find the names of all kernel functions. Given that this call can happen after lin...