TOpenCLKernelList.Find Method

function Find(const KernelName: string; var Idx: Integer): Boolean;

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

#NameTypeDescription
1KernelNamestring
2IdxInteger

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.