Expand description
A module that contains an OpenCL backend.
Structs§
- ClBackend
- A structure of OpenCL backend.
- ClBackend
Array - A structure of OpenCL backend array.
- ClError
ClErroris a newtype around theOpenCLcl_interror number- Context
- An OpenCL context object. Implements the Drop trait to call release_context when the object is dropped.
- Device
- An OpenCL device id and methods to query it.
- Platform
- An OpenCL platform id and methods to query it.
Constants§
- CL_
DEVICE_ TYPE_ ACCELERATOR - CL_
DEVICE_ TYPE_ ALL - CL_
DEVICE_ TYPE_ CPU - CL_
DEVICE_ TYPE_ CUSTOM - CL_
DEVICE_ TYPE_ DEFAULT - CL_
DEVICE_ TYPE_ GPU
Functions§
- get_
platforms - Get the available OpenCL platforms.