1
// Note: This file has been automatically generated. Do not modify.
4
#define POCL_FRACT_MIN 0x1.fffffffffffffp-1
5
#define POCL_FRACT_MIN_F 0x1.fffffep-1f
7
// If double precision is not supported, then define
8
// single-precision (dummy) values to avoid compiler warnings
9
// for double precision values
14
# define M_PI_2 M_PI_2_F
16
# define LONG_MAX INT_MAX
18
# define LONG_MIN INT_MIN
19
# undef POCL_FRACT_MIN
20
# define POCL_FRACT_MIN POCL_FRACT_MIN_F
23
// islessequal: ['VF', 'VF'] -> VJ
25
// islessequal: VF=float
26
// Implement islessequal directly
27
__attribute__((__overloadable__))
28
int _cl_islessequal(float x0, float x1)
30
typedef int kscalar_t;
31
typedef float scalar_t;
32
typedef int ivector_t;
33
typedef int jvector_t;
34
typedef int kvector_t;
35
typedef float vector_t;
36
#define convert_ivector_t convert_int
37
#define convert_jvector_t convert_int
38
#define convert_kvector_t convert_int
39
#define convert_vector_t convert_float
41
#undef convert_ivector_t
42
#undef convert_jvector_t
43
#undef convert_kvector_t
44
#undef convert_vector_t
47
// islessequal: VF=float2
48
// Implement islessequal directly
49
__attribute__((__overloadable__))
50
int2 _cl_islessequal(float2 x0, float2 x1)
52
typedef int kscalar_t;
53
typedef float scalar_t;
54
typedef int2 ivector_t;
55
typedef int2 jvector_t;
56
typedef int2 kvector_t;
57
typedef float2 vector_t;
58
#define convert_ivector_t convert_int2
59
#define convert_jvector_t convert_int2
60
#define convert_kvector_t convert_int2
61
#define convert_vector_t convert_float2
63
#undef convert_ivector_t
64
#undef convert_jvector_t
65
#undef convert_kvector_t
66
#undef convert_vector_t
69
// islessequal: VF=float3
70
// Implement islessequal directly
71
__attribute__((__overloadable__))
72
int3 _cl_islessequal(float3 x0, float3 x1)
74
typedef int kscalar_t;
75
typedef float scalar_t;
76
typedef int3 ivector_t;
77
typedef int3 jvector_t;
78
typedef int3 kvector_t;
79
typedef float3 vector_t;
80
#define convert_ivector_t convert_int3
81
#define convert_jvector_t convert_int3
82
#define convert_kvector_t convert_int3
83
#define convert_vector_t convert_float3
85
#undef convert_ivector_t
86
#undef convert_jvector_t
87
#undef convert_kvector_t
88
#undef convert_vector_t
91
// islessequal: VF=float4
92
// Implement islessequal directly
93
__attribute__((__overloadable__))
94
int4 _cl_islessequal(float4 x0, float4 x1)
96
typedef int kscalar_t;
97
typedef float scalar_t;
98
typedef int4 ivector_t;
99
typedef int4 jvector_t;
100
typedef int4 kvector_t;
101
typedef float4 vector_t;
102
#define convert_ivector_t convert_int4
103
#define convert_jvector_t convert_int4
104
#define convert_kvector_t convert_int4
105
#define convert_vector_t convert_float4
107
#undef convert_ivector_t
108
#undef convert_jvector_t
109
#undef convert_kvector_t
110
#undef convert_vector_t
113
// islessequal: VF=float8
114
// Implement islessequal directly
115
__attribute__((__overloadable__))
116
int8 _cl_islessequal(float8 x0, float8 x1)
118
typedef int kscalar_t;
119
typedef float scalar_t;
120
typedef int8 ivector_t;
121
typedef int8 jvector_t;
122
typedef int8 kvector_t;
123
typedef float8 vector_t;
124
#define convert_ivector_t convert_int8
125
#define convert_jvector_t convert_int8
126
#define convert_kvector_t convert_int8
127
#define convert_vector_t convert_float8
129
#undef convert_ivector_t
130
#undef convert_jvector_t
131
#undef convert_kvector_t
132
#undef convert_vector_t
135
// islessequal: VF=float16
136
// Implement islessequal directly
137
__attribute__((__overloadable__))
138
int16 _cl_islessequal(float16 x0, float16 x1)
140
typedef int kscalar_t;
141
typedef float scalar_t;
142
typedef int16 ivector_t;
143
typedef int16 jvector_t;
144
typedef int16 kvector_t;
145
typedef float16 vector_t;
146
#define convert_ivector_t convert_int16
147
#define convert_jvector_t convert_int16
148
#define convert_kvector_t convert_int16
149
#define convert_vector_t convert_float16
151
#undef convert_ivector_t
152
#undef convert_jvector_t
153
#undef convert_kvector_t
154
#undef convert_vector_t
159
// islessequal: VF=double
160
// Implement islessequal directly
161
__attribute__((__overloadable__))
162
int _cl_islessequal(double x0, double x1)
164
typedef int kscalar_t;
165
typedef double scalar_t;
166
typedef long ivector_t;
167
typedef int jvector_t;
168
typedef int kvector_t;
169
typedef double vector_t;
170
#define convert_ivector_t convert_long
171
#define convert_jvector_t convert_int
172
#define convert_kvector_t convert_int
173
#define convert_vector_t convert_double
175
#undef convert_ivector_t
176
#undef convert_jvector_t
177
#undef convert_kvector_t
178
#undef convert_vector_t
181
// islessequal: VF=double2
182
// Implement islessequal directly
183
__attribute__((__overloadable__))
184
long2 _cl_islessequal(double2 x0, double2 x1)
186
typedef long kscalar_t;
187
typedef double scalar_t;
188
typedef long2 ivector_t;
189
typedef long2 jvector_t;
190
typedef int2 kvector_t;
191
typedef double2 vector_t;
192
#define convert_ivector_t convert_long2
193
#define convert_jvector_t convert_long2
194
#define convert_kvector_t convert_int2
195
#define convert_vector_t convert_double2
197
#undef convert_ivector_t
198
#undef convert_jvector_t
199
#undef convert_kvector_t
200
#undef convert_vector_t
203
// islessequal: VF=double3
204
// Implement islessequal directly
205
__attribute__((__overloadable__))
206
long3 _cl_islessequal(double3 x0, double3 x1)
208
typedef long kscalar_t;
209
typedef double scalar_t;
210
typedef long3 ivector_t;
211
typedef long3 jvector_t;
212
typedef int3 kvector_t;
213
typedef double3 vector_t;
214
#define convert_ivector_t convert_long3
215
#define convert_jvector_t convert_long3
216
#define convert_kvector_t convert_int3
217
#define convert_vector_t convert_double3
219
#undef convert_ivector_t
220
#undef convert_jvector_t
221
#undef convert_kvector_t
222
#undef convert_vector_t
225
// islessequal: VF=double4
226
// Implement islessequal directly
227
__attribute__((__overloadable__))
228
long4 _cl_islessequal(double4 x0, double4 x1)
230
typedef long kscalar_t;
231
typedef double scalar_t;
232
typedef long4 ivector_t;
233
typedef long4 jvector_t;
234
typedef int4 kvector_t;
235
typedef double4 vector_t;
236
#define convert_ivector_t convert_long4
237
#define convert_jvector_t convert_long4
238
#define convert_kvector_t convert_int4
239
#define convert_vector_t convert_double4
241
#undef convert_ivector_t
242
#undef convert_jvector_t
243
#undef convert_kvector_t
244
#undef convert_vector_t
247
// islessequal: VF=double8
248
// Implement islessequal directly
249
__attribute__((__overloadable__))
250
long8 _cl_islessequal(double8 x0, double8 x1)
252
typedef long kscalar_t;
253
typedef double scalar_t;
254
typedef long8 ivector_t;
255
typedef long8 jvector_t;
256
typedef int8 kvector_t;
257
typedef double8 vector_t;
258
#define convert_ivector_t convert_long8
259
#define convert_jvector_t convert_long8
260
#define convert_kvector_t convert_int8
261
#define convert_vector_t convert_double8
263
#undef convert_ivector_t
264
#undef convert_jvector_t
265
#undef convert_kvector_t
266
#undef convert_vector_t
269
// islessequal: VF=double16
270
// Implement islessequal directly
271
__attribute__((__overloadable__))
272
long16 _cl_islessequal(double16 x0, double16 x1)
274
typedef long kscalar_t;
275
typedef double scalar_t;
276
typedef long16 ivector_t;
277
typedef long16 jvector_t;
278
typedef int16 kvector_t;
279
typedef double16 vector_t;
280
#define convert_ivector_t convert_long16
281
#define convert_jvector_t convert_long16
282
#define convert_kvector_t convert_int16
283
#define convert_vector_t convert_double16
285
#undef convert_ivector_t
286
#undef convert_jvector_t
287
#undef convert_kvector_t
288
#undef convert_vector_t
291
#endif // #ifdef cl_khr_fp64