logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Reserved_Data_Types - Built-in reserved Data Types.

Authors

TheKhronosGroup

Description

       The data type names described in the table below are reserved and cannot be used by applications as
       user-defined type names. The vector data type names defined in vectorDataTypes(3clc), but where n is any
       value other than 2, 3, 4, 8 and 16, are also reserved.

       ┌───────────────────────────────────────┬───────────────────────────────────────┐
       │ TypeDescription                           │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │ booln                                 │ A boolean vector.                     │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │ halfn                                 │ A 16-bit float vector.                │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │ quad, quadn                           │ A 128-bit floating-point number and   │
       │                                       │ vectors.                              │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │            complexhalf,              │ Complex and imaginary 16-bit          │
       │            complexhalfn,             │ floating-point scalar and vector.     │
       │            imaginaryhalf,            │                                       │
       │            imaginaryhalfn            │                                       │
       │                                       │                                       │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │            complexfloat,             │ Complex and imaginary 32-bit          │
       │            complexfloatn,            │ floating-point scalar and vector.     │
       │            imaginaryfloat,           │                                       │
       │            imaginaryfloatn           │                                       │
       │                                       │                                       │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │            complexdouble,            │ Complex and imaginary 64-bit          │
       │            complexdoublen,           │ floating-point scalar and vector.     │
       │            imaginarydouble,          │                                       │
       │            imaginarydoublen          │                                       │
       │                                       │                                       │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │            complexquad,              │ Complex and imaginary 128-bit         │
       │            complexquadn,             │ floating-point scalar and vector.     │
       │            imaginaryquad,            │                                       │
       │            imaginaryquadn            │                                       │
       │                                       │                                       │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │ floatnxm                              │ An n x m matrix of single precision   │
       │                                       │ floating-point values stored in       │
       │                                       │ column-major order.                   │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │ doublenxm                             │ An n x m matrix of double precision   │
       │                                       │ floating-point values stored in       │
       │                                       │ column-major order.                   │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │            longdouble,               │ A floating-point scalar and vector    │
       │            longdoublen               │ type with at long doublen least as    │
       │                                       │ much precision and range as a double  │
       │                                       │ and no more precision and range than  │
       │                                       │ a quad.                               │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │ longlong, longlongn                 │ A 128-bit signed integer scalar and   │
       │                                       │ vector.                               │
       ├───────────────────────────────────────┼───────────────────────────────────────┤
       │ unsignedlonglong, ulonglong, ulong │ A 128-bit unsigned integer scalar and │
       │ longn                                 │ vector.                               │
       └───────────────────────────────────────┴───────────────────────────────────────┘

Name

       Reserved_Data_Types - Built-in reserved Data Types.

Notes

        1. OpenCL Specification
           page 200, section 6.1.4 - Reserved Data Types

The Khronos Group                                  11/18/2024                          RESERVEDDATATYPES(3clc)

See Also

macroLimits(3clc), scalarDataTypes(3clc), vectorDataTypes(3clc), otherDataTypes(3clc),
       abstractDataTypes(3clc), enums(3clc),

Specification

OpenCLSpecification[1]

See Also