---
name: "abstractDataTypes"
section: "3clc"
platform: "linux"
package: "opencl-1.2-man-doc"
version: "1.0~svn33624-5.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/abstractDataTypes"
---

# abstractDataTypes(3clc)

Abstract Built-in Data Types

## NAME

Abstract\_Data\_Types - Abstract Built-in Data Types

## DESCRIPTION

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 |

## SEE ALSO

[**macroLimits**(3clc)](/macroLimits/3clc.md), [**scalarDataTypes**(3clc)](/scalarDataTypes/3clc.md), [**vectorDataTypes**(3clc)](/vectorDataTypes/3clc.md), [**otherDataTypes**(3clc)](/otherDataTypes/3clc.md), [**reservedDataTypes**(3clc)](/reservedDataTypes/3clc.md)

## AUTHORS

**The Khronos Group**

## COPYRIGHT

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.
