summaryrefslogtreecommitdiff
path: root/generic/include/clc/geometric/floatn.inc
blob: fb7a9ae601cd3ba0183f50e9bee71ed1f308ae29 (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
#define __CLC_FLOAT float

#define __CLC_FLOATN float
#include __CLC_BODY
#undef __CLC_FLOATN

#define __CLC_FLOATN float2
#include __CLC_BODY
#undef __CLC_FLOATN

#define __CLC_FLOATN float3
#include __CLC_BODY
#undef __CLC_FLOATN

#define __CLC_FLOATN float4
#include __CLC_BODY
#undef __CLC_FLOATN

#undef __CLC_FLOAT

#ifdef cl_khr_fp64

#define __CLC_FLOAT double

#define __CLC_FLOATN double
#include __CLC_BODY
#undef __CLC_FLOATN

#define __CLC_FLOATN double2
#include __CLC_BODY
#undef __CLC_FLOATN

#define __CLC_FLOATN double3
#include __CLC_BODY
#undef __CLC_FLOATN

#define __CLC_FLOATN double4
#include __CLC_BODY
#undef __CLC_FLOATN

#undef __CLC_FLOAT

#endif

#undef __CLC_BODY