TOpenCLKernelList.Locate Method

function Locate(const KernelName: string): TOpenCLKernel;

Searches for and returns the kernel with KernelName.

#NameTypeDescription
1KernelNamestring

Returns: TOpenCLKernel

Remarks:

The function will raise an exception, if the Kernel is not found.