Module opencl3::device [−][src]
Structs
An OpenCL device id and methods to query it.
The query methods calls clGetDeviceInfo with the relevant param_name, see:
Device Queries.
Enums
Constants
Functions
Create sub-devices by partitioning an OpenCL device. Calls clCreateSubDevices to get the partitioned sub-devices.
A text representation of an OpenCL device type, see: Device Types.
Convert a u8 slice (e.g. from get_device_info) into a cl_amd_device_topology structure.
Get data about an OpenCL device. Calls clGetDeviceInfo to get the desired data about the device.
Get the list of available devices of the given type on a platform.
Calls clGetDeviceIDs to get the available device ids on the platform.
Get specific information about an OpenCL device.
Calls clGetDeviceInfo to get the desired information about the device.
Convert a u8 slice (e.g. from get_device_info) into a cl_device_pci_bus_info_khr structure.
Release an OpenCL device.
Calls clReleaseDevice to decrement the device reference count
if device is a valid sub-device created by a call to clCreateSubDevices.
Retain an OpenCL device.
Calls clRetainDevice to increment the device reference count
if device is a valid sub-device created by a call to clCreateSubDevices.