Module device

Source

Enums§

DeviceError
An error related to a Device.

Constants§

NO_PARENT_DEVICE_ERROR
UNUSABLE_DEVICE_ERROR
UNUSABLE_DEVICE_ID
NOTE: UNUSABLE_DEVICE_ID might be osx specific? or OpenCL implementation specific? UNUSABLE_DEVICE_ID was the cl_device_id encountered on my Macbook Pro for a Radeon graphics card that becomes unavailable when powersaving mode enables. Apparently the OpenCL platform can still see the device, instead of a “legit” cl_device_id the inactive device’s cl_device_id is listed as 0xFFFF_FFFF.

Traits§

DevicePtr

Functions§

cl_get_device_count
cl_get_device_info
device_usability_check
list_devices_by_type

Type Aliases§

ClDeviceID