A.2.2 Built-in vector data types

List of built-in vector data types where n = 2, 3, 4, 8, or 16.

Table A-2 Built-in vector data types

OpenCL Type API type for application Description
charn cl_charn 8-bit signed
ucharn cl_ucharn 8-bit unsigned
shortn cl_shortn 16-bit signed
ushortn cl_ushortn 16-bit unsigned
intn cl_intn 32-bit signed
uintn cl_uintn 32-bit unsigned
longn cl_longn 64-bit signed
ulongn cl_ulongn 64-bit unsigned
floatn cl_floatn 32-bit float
Non-ConfidentialPDF file icon PDF versionARM 100614_0300_00_en
Copyright © 2012, 2013, 2015, 2016 ARM. All rights reserved.