TOpenCLPlatformList.GetFirstGPUDevice Method

function GetFirstGPUDevice: TOpenCLDevice;

Returns the first found GPU device starting at first platform.

Returns: TOpenCLDevice

Remarks:

If there is no GPU device found, the function returns nil.