TOpenCLKernelList::Find Method

bool Find(const DewString &KernelName, int &Idx);

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

#NameTypeDescription
1KernelNameconst DewString &
2Idxint &
Remarks:

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

Declared in Dew::Math::TOpenCLKernelList · Dew.Math/clMtxVec.h · Cross-compiler