Abstract Data Types

Abstract Built-in Data Types


The following table describes abstract data types supported by OpenCL:

Type Description API Type
_cl_platform_id * The ID for a platform. cl_platform_id
_cl_device_id * The ID for a device. cl_device_id
_cl_context * A context. cl_context
_cl_command_queue * A command queue. cl_command_queue
_cl_mem * A memory object. cl_mem
_cl_program * A program. cl_program
_cl_kernel * A kernel. cl_kernel
_cl_event * An event. Also see event_t. cl_event
_cl_sampler * A sampler. Also see sampler_t. cl_sampler

Also see

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

Copyright © 2007-2011 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.