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 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0