The following table describes abstract data types supported by OpenCL:
Type | Description | API Type |
---|---|---|
_cl_platform_id | The ID for a platform. | cl_platform_id |
_cl_device_id | The ID for a device. | cl_device_id |
_cl_context | A context. | cl_context |
_cl_command_queue | A command queue. | cl_command_queue |
_cl_mem | A memory object. | cl_mem |
_cl_program | A program. | cl_program |
_cl_kernel | A kernel. | cl_kernel |
_cl_event | An event. Also see event_t. | cl_event |
_cl_sampler | A sampler. Also see sampler_t. | cl_sampler |
Data Types, Macros and Limits, Scalar Data Types, Vector Data Types, Other Data Types, Reserved Data Types