Abstract Built-in Data Types

Description

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 event_t.

cl_event

A sampler. Also see sampler_t.

cl_sampler

Also see