ae2f_docs
Loading...
Searching...
No Matches
ocl.h
1
/**
2
* @brief base opencl c header this compiler supports
3
* */
4
5
#
ifndef
ACLSPV_H
6
#
define
ACLSPV_H
7
#
ifndef
ACLSPV_PTR64
8
#
define
ACLSPV_PTR64
1
9
#
endif
10
#
define
ACLSPV_I
(
t
,
b
)
typedef
t
i
##
b
;
typedef
unsigned
t
u
##
b
,
u
##
t
11
ACLSPV_I
(
char
,8);
ACLSPV_I
(
short
,16);
ACLSPV_I
(
int
,32);
ACLSPV_I
(
long
,64);
12
#
undef
ACLSPV_I
13
#
define
f16
half
14
#
define
f32
float
15
#
define
f64
double
16
#
define
uptr
size_t
17
#
define
iptr
ptrdiff_t
18
#
define
intptr_t
iptr
19
#
define
uintptr_t
uptr
20
#
if
ACLSPV_PTR64
21
typedef
u64
uptr
;
typedef
i64
iptr
;
22
#
else
23
typedef
u32 uptr;
typedef
i32 iptr;
24
#
endif
25
#
endif
uptr
#define uptr
Definition
StdInt.h:332
iptr
#define iptr
Definition
StdInt.h:328
ACLSPV_I
#define ACLSPV_I(t, b)
Definition
ocl.h:10
ACLSPV_PTR64
#define ACLSPV_PTR64
Definition
ocl.h:8
submod
ae3f
aclspv
src
ocl.h
Generated by
1.15.0