cl_types.h File Reference
This file contains the scalar types used for SYCL/OpenCL interop. More...
Go to the source code of this file.
Namespaces | |
cl | |
deduce_type_t takes an arbitrary type and attempts to map it to a cl::sycl::cl_type . | |
cl::sycl | |
Typedefs | |
using | cl::sycl::cl_bool = bool |
Boolean interop type. More... | |
using | cl::sycl::cl_char = signed char |
char (1 byte) interop type More... | |
using | cl::sycl::cl_uchar = unsigned char |
unsigned char (1 byte) interop type More... | |
using | cl::sycl::cl_short = int16_t |
short (2 bytes) interop type More... | |
using | cl::sycl::cl_ushort = uint16_t |
unsigned short (2 bytes) interop type More... | |
using | cl::sycl::cl_int = int |
int (4 bytes) interop type More... | |
using | cl::sycl::cl_uint = unsigned int |
unsigned int (4 bytes) interop type More... | |
using | cl::sycl::cl_float = float |
float interop type More... | |
using | cl::sycl::cl_double = double |
double interop type More... | |
using | cl::sycl::cl_long = int64_t |
long (8 bytes) interop type More... | |
using | cl::sycl::cl_ulong = uint64_t |
unsigned long (8 bytes) interop type More... | |
using | cl::sycl::cl_half = half |
half scalar type More... | |
Detailed Description
This file contains the scalar types used for SYCL/OpenCL interop.
This file contains the vector types used for SYCL/OpenCL interop.
These are defined in the SYCL 1.2 specification and are residing in the cl::sycl namespace.
Definition in file cl_types.h.