syclreference.com
  1. SYCL
  2. | API Reference
  3. | Types

Types

Types

Type Definition Notes
cl_bool
bool

Boolean interop type

cl_char
signed char

char (1 byte) interop type

cl_double
double

double interop type

cl_float
float

float interop type

cl_half
cl::sycl::half

half scalar type

cl_int
int

int (4 bytes) interop type

cl_long
int64_t

long (8 bytes) interop type

cl_short
int16_t

short (2 bytes) interop type

cl_uchar
unsigned char

unsigned char (1 byte) interop type

cl_uint
unsigned int

unsigned int (4 bytes) interop type

cl_ulong
uint64_t

unsigned long (8 bytes) interop type

cl_ushort
uint16_t

unsigned short (2 bytes) interop type

Classes

half

Definition of half type

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000