Abstract Data Types

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 event_t. cl_event
A sampler. Also see sampler_t. cl_sampler

Also see

Data Types, Macros and Limits, Scalar Data Types, Vector Data Types, Other Data Types, Reserved Data Types

Copyright © 2007-2015 The Khronos Group Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the "Materials"), to deal in the Materials without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to the condition that this copyright notice and permission notice shall be included in all copies or substantial portions of the Materials.