TOpenCLKernelList.Find Method

Boolean Find(String KernelName, ref Int32 Idx)

Searches for and returns the index of the kernel with KernelName.

#NameTypeDescription
1KernelNameString
2IdxInt32 (ref)output

Returns: Boolean

Remarks:

Returns true, if the kernel with KernelName exists and the Idx parameter will contain the index in the list on the output.