Abstract Built-in Data Types
The following table describes abstract data types supported by OpenCL:
Description | API Type |
---|---|
The ID for a platform. |
cl_platform_id |
The ID for a device. |
cl_device_id |
A context. |
cl_context |
A command queue. |
cl_command_queue |
A memory object. |
cl_mem |
A program. |
cl_program |
A kernel. |
cl_kernel |
An event.
Also see |
cl_event |
A sampler.
Also see |
cl_sampler |