Description

The data type names described in the following table are reserved and cannot be used by applications as type names. The vector data type names defined in https://www.khronos.org/registry/OpenCL/specs/2.2/html/OpenCL_C.html#table-builtin-vector-types, but where n is any value other than 2, 3, 4, 8 and 16, are also reserved.

Table 1. Reserved Data Types

Type

Description

booln

A boolean vector.

halfn

A 16-bit floating-point vector.

quad, quadn

A 128-bit floating-point scalar and vector.

complex half, complex halfn

A complex 16-bit floating-point scalar and vector.

imaginary half, imaginary halfn

An imaginary 16-bit floating-point scalar and vector.

complex float, complex floatn

A complex 32-bit floating-point scalar and vector.

imaginary float, imaginary floatn

An imaginary 32-bit floating-point scalar and vector.

complex double, complex doublen

A complex 64-bit floating-point scalar and vector.

imaginary double, imaginary doublen

An imaginary 64-bit floating-point scalar and vector.

complex quad, complex quadn

A complex 128-bit floating-point scalar and vector.

imaginary quad, imaginary quadn

An imaginary 128-bit floating-point scalar and vector.

floatnxm

An n × m matrix of single precision floating-point values stored in column-major order.

doublenxm

An n × m matrix of double precision floating-point values stored in column-major order.

long double, long doublen

A floating-point scalar and vector type with at least as much precision and range as a double and no more precision and range than a quad.

long long, long longn

A 128-bit signed integer scalar and vector.

unsigned long long, ulong long, ulong longn

A 128-bit unsigned integer scalar and vector.

See Also

Document Notes

For more information, see the OpenCL C Specification

This page is extracted from the OpenCL C Specification. Fixes and changes should be made to the Specification, not directly.

Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.