Name

Abstract Built-in Data Types

Description

The following table describes abstract data types supported by OpenCL.

Description API Type Creation or Query API

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

cl_event

A sampler

cl_sampler

See Also

Document Notes

For more information, see the OpenCL API Specification.

Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.