summaryrefslogtreecommitdiff
path: root/generic/include/clc/gentype.inc
blob: 1ff064a08a62efbadd4ab82a04ec4af02c8d4b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#define __CLC_GENTYPE float
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE float2
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE float3
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE float4
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE float8
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE float16
#include BODY
#undef __CLC_GENTYPE

#ifdef cl_khr_fp64
#define __CLC_GENTYPE double
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE double2
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE double3
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE double4
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE double8
#include BODY
#undef __CLC_GENTYPE

#define __CLC_GENTYPE double16
#include BODY
#undef __CLC_GENTYPE
#endif

#undef BODY