1
2#define __CLC_FLOATN float
3#define __CLC_INTN int
4#include __CLC_BODY
5#undef __CLC_INTN
6#undef __CLC_FLOATN
7
8#define __CLC_FLOATN float2
9#define __CLC_INTN int2
10#include __CLC_BODY
11#undef __CLC_INTN
12#undef __CLC_FLOATN
13
14#define __CLC_FLOATN float3
15#define __CLC_INTN int3
16#include __CLC_BODY
17#undef __CLC_INTN
18#undef __CLC_FLOATN
19
20#define __CLC_FLOATN float4
21#define __CLC_INTN int4
22#include __CLC_BODY
23#undef __CLC_INTN
24#undef __CLC_FLOATN
25
26#define __CLC_FLOATN float8
27#define __CLC_INTN int8
28#include __CLC_BODY
29#undef __CLC_INTN
30#undef __CLC_FLOATN
31
32#define __CLC_FLOATN float16
33#define __CLC_INTN int16
34#include __CLC_BODY
35#undef __CLC_INTN
36#undef __CLC_FLOATN
37
38#undef __CLC_FLOAT
39#undef __CLC_INT
40
41#ifdef cl_khr_fp64
42#pragma OPENCL EXTENSION cl_khr_fp64 : enable
43
44#define __CLC_FLOATN double
45#define __CLC_INTN int
46#include __CLC_BODY
47#undef __CLC_INTN
48#undef __CLC_FLOATN
49
50#define __CLC_FLOATN double2
51#define __CLC_INTN long2
52#include __CLC_BODY
53#undef __CLC_INTN
54#undef __CLC_FLOATN
55
56#define __CLC_FLOATN double3
57#define __CLC_INTN long3
58#include __CLC_BODY
59#undef __CLC_INTN
60#undef __CLC_FLOATN
61
62#define __CLC_FLOATN double4
63#define __CLC_INTN long4
64#include __CLC_BODY
65#undef __CLC_INTN
66#undef __CLC_FLOATN
67
68#define __CLC_FLOATN double8
69#define __CLC_INTN long8
70#include __CLC_BODY
71#undef __CLC_INTN
72#undef __CLC_FLOATN
73
74#define __CLC_FLOATN double16
75#define __CLC_INTN long16
76#include __CLC_BODY
77#undef __CLC_INTN
78#undef __CLC_FLOATN
79
80#endif
81#ifdef cl_khr_fp16
82#pragma OPENCL EXTENSION cl_khr_fp16 : enable
83
84#define __CLC_FLOATN half
85#define __CLC_INTN int
86#include __CLC_BODY
87#undef __CLC_INTN
88#undef __CLC_FLOATN
89
90#define __CLC_FLOATN half2
91#define __CLC_INTN short2
92#include __CLC_BODY
93#undef __CLC_INTN
94#undef __CLC_FLOATN
95
96#define __CLC_FLOATN half3
97#define __CLC_INTN short3
98#include __CLC_BODY
99#undef __CLC_INTN
100#undef __CLC_FLOATN
101
102#define __CLC_FLOATN half4
103#define __CLC_INTN short4
104#include __CLC_BODY
105#undef __CLC_INTN
106#undef __CLC_FLOATN
107
108#define __CLC_FLOATN half8
109#define __CLC_INTN short8
110#include __CLC_BODY
111#undef __CLC_INTN
112#undef __CLC_FLOATN
113
114#define __CLC_FLOATN half16
115#define __CLC_INTN short16
116#include __CLC_BODY
117#undef __CLC_INTN
118#undef __CLC_FLOATN
119
120#endif
121
122#undef __CLC_BODY
123