diff --git a/libclc/opencl/include/clc/opencl/common/degrees.h b/libclc/opencl/include/clc/opencl/common/degrees.h index 6511bc9be10d..5bd6f4e8f7fd 100644 --- a/libclc/opencl/include/clc/opencl/common/degrees.h +++ b/libclc/opencl/include/clc/opencl/common/degrees.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_COMMON_DEGREES_H__ +#define __CLC_OPENCL_COMMON_DEGREES_H__ + #define FUNCTION degrees #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_COMMON_DEGREES_H__ diff --git a/libclc/opencl/include/clc/opencl/common/mix.h b/libclc/opencl/include/clc/opencl/common/mix.h index 76aeaaba665a..75863cf69946 100644 --- a/libclc/opencl/include/clc/opencl/common/mix.h +++ b/libclc/opencl/include/clc/opencl/common/mix.h @@ -6,5 +6,10 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_COMMON_MIX_H__ +#define __CLC_OPENCL_COMMON_MIX_H__ + #define __CLC_BODY #include + +#endif // __CLC_OPENCL_COMMON_MIX_H__ diff --git a/libclc/opencl/include/clc/opencl/common/radians.h b/libclc/opencl/include/clc/opencl/common/radians.h index 7cfee9e6d640..3761a7e875be 100644 --- a/libclc/opencl/include/clc/opencl/common/radians.h +++ b/libclc/opencl/include/clc/opencl/common/radians.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_COMMON_RADIANS_H__ +#define __CLC_OPENCL_COMMON_RADIANS_H__ + #define FUNCTION radians #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_COMMON_RADIANS_H__ diff --git a/libclc/opencl/include/clc/opencl/common/sign.h b/libclc/opencl/include/clc/opencl/common/sign.h index 76b53d27efc8..619e68ff1e14 100644 --- a/libclc/opencl/include/clc/opencl/common/sign.h +++ b/libclc/opencl/include/clc/opencl/common/sign.h @@ -6,7 +6,12 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_COMMON_SIGN_H__ +#define __CLC_OPENCL_COMMON_SIGN_H__ + #define FUNCTION sign #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_COMMON_SIGN_H__ diff --git a/libclc/opencl/include/clc/opencl/common/smoothstep.h b/libclc/opencl/include/clc/opencl/common/smoothstep.h index 87a642f8947a..79fe7d37fc1b 100644 --- a/libclc/opencl/include/clc/opencl/common/smoothstep.h +++ b/libclc/opencl/include/clc/opencl/common/smoothstep.h @@ -6,5 +6,10 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_COMMON_SMOOTHSTEP_H__ +#define __CLC_OPENCL_COMMON_SMOOTHSTEP_H__ + #define __CLC_BODY #include + +#endif // __CLC_OPENCL_COMMON_SMOOTHSTEP_H__ diff --git a/libclc/opencl/include/clc/opencl/common/step.h b/libclc/opencl/include/clc/opencl/common/step.h index d25a66f16ac3..aa3882a9f1ab 100644 --- a/libclc/opencl/include/clc/opencl/common/step.h +++ b/libclc/opencl/include/clc/opencl/common/step.h @@ -6,5 +6,10 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_COMMON_STEP_H__ +#define __CLC_OPENCL_COMMON_STEP_H__ + #define __CLC_BODY #include + +#endif // __CLC_OPENCL_COMMON_STEP_H__ diff --git a/libclc/opencl/include/clc/opencl/geometric/cross.h b/libclc/opencl/include/clc/opencl/geometric/cross.h index 9d479e6eed88..be137965aea4 100644 --- a/libclc/opencl/include/clc/opencl/geometric/cross.h +++ b/libclc/opencl/include/clc/opencl/geometric/cross.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_GEOMETRIC_CROSS_H__ +#define __CLC_OPENCL_GEOMETRIC_CROSS_H__ + _CLC_OVERLOAD _CLC_DECL float3 cross(float3 p0, float3 p1); _CLC_OVERLOAD _CLC_DECL float4 cross(float4 p0, float4 p1); @@ -13,3 +16,5 @@ _CLC_OVERLOAD _CLC_DECL float4 cross(float4 p0, float4 p1); _CLC_OVERLOAD _CLC_DECL double3 cross(double3 p0, double3 p1); _CLC_OVERLOAD _CLC_DECL double4 cross(double4 p0, double4 p1); #endif + +#endif // __CLC_OPENCL_GEOMETRIC_CROSS_H__ diff --git a/libclc/opencl/include/clc/opencl/geometric/distance.h b/libclc/opencl/include/clc/opencl/geometric/distance.h index aa7149d71827..f9c219c44a49 100644 --- a/libclc/opencl/include/clc/opencl/geometric/distance.h +++ b/libclc/opencl/include/clc/opencl/geometric/distance.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_GEOMETRIC_DISTANCE_H__ +#define __CLC_OPENCL_GEOMETRIC_DISTANCE_H__ + #define FUNCTION distance #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_GEOMETRIC_DISTANCE_H__ diff --git a/libclc/opencl/include/clc/opencl/geometric/dot.h b/libclc/opencl/include/clc/opencl/geometric/dot.h index af149a7779e4..0b391a10aa07 100644 --- a/libclc/opencl/include/clc/opencl/geometric/dot.h +++ b/libclc/opencl/include/clc/opencl/geometric/dot.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_GEOMETRIC_DOT_H__ +#define __CLC_OPENCL_GEOMETRIC_DOT_H__ + #define FUNCTION dot #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_GEOMETRIC_DOT_H__ diff --git a/libclc/opencl/include/clc/opencl/geometric/fast_distance.h b/libclc/opencl/include/clc/opencl/geometric/fast_distance.h index 6ae297a49915..95b4966dfac1 100644 --- a/libclc/opencl/include/clc/opencl/geometric/fast_distance.h +++ b/libclc/opencl/include/clc/opencl/geometric/fast_distance.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_GEOMETRIC_FAST_DISTANCE_H__ +#define __CLC_OPENCL_GEOMETRIC_FAST_DISTANCE_H__ + #define __FLOAT_ONLY #define FUNCTION fast_distance #define __CLC_BODY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_GEOMETRIC_FAST_DISTANCE_H__ diff --git a/libclc/opencl/include/clc/opencl/geometric/fast_length.h b/libclc/opencl/include/clc/opencl/geometric/fast_length.h index 6bfb439fa222..78ad1fea981c 100644 --- a/libclc/opencl/include/clc/opencl/geometric/fast_length.h +++ b/libclc/opencl/include/clc/opencl/geometric/fast_length.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_GEOMETRIC_FAST_LENGTH_H__ +#define __CLC_OPENCL_GEOMETRIC_FAST_LENGTH_H__ + #define __FLOAT_ONLY #define FUNCTION fast_length #define __CLC_BODY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_GEOMETRIC_FAST_LENGTH_H__ diff --git a/libclc/opencl/include/clc/opencl/geometric/fast_normalize.h b/libclc/opencl/include/clc/opencl/geometric/fast_normalize.h index 54347d77df6c..7a70dd5df519 100644 --- a/libclc/opencl/include/clc/opencl/geometric/fast_normalize.h +++ b/libclc/opencl/include/clc/opencl/geometric/fast_normalize.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_GEOMETRIC_FAST_NORMALIZE_H__ +#define __CLC_OPENCL_GEOMETRIC_FAST_NORMALIZE_H__ + #define __FLOAT_ONLY #define FUNCTION fast_normalize #define __CLC_GEOMETRIC_RET_GENTYPE @@ -15,3 +18,5 @@ #undef FUNCTION #undef __CLC_GEOMETRIC_RET_GENTYPE + +#endif // __CLC_OPENCL_GEOMETRIC_FAST_NORMALIZE_H__ diff --git a/libclc/opencl/include/clc/opencl/geometric/length.h b/libclc/opencl/include/clc/opencl/geometric/length.h index b9a4788e095b..5dd6ff5a9cad 100644 --- a/libclc/opencl/include/clc/opencl/geometric/length.h +++ b/libclc/opencl/include/clc/opencl/geometric/length.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_GEOMETRIC_LENGTH_H__ +#define __CLC_OPENCL_GEOMETRIC_LENGTH_H__ + #define FUNCTION length #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_GEOMETRIC_LENGTH_H__ diff --git a/libclc/opencl/include/clc/opencl/geometric/normalize.h b/libclc/opencl/include/clc/opencl/geometric/normalize.h index 90d6f332682a..7d3e8fa98f8e 100644 --- a/libclc/opencl/include/clc/opencl/geometric/normalize.h +++ b/libclc/opencl/include/clc/opencl/geometric/normalize.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_GEOMETRIC_NORMALIZE_H__ +#define __CLC_OPENCL_GEOMETRIC_NORMALIZE_H__ + #define FUNCTION normalize #define __CLC_GEOMETRIC_RET_GENTYPE #define __CLC_BODY @@ -14,3 +17,5 @@ #undef __CLC_GEOMETRIC_RET_GENTYPE #undef FUNCTION + +#endif // __CLC_OPENCL_GEOMETRIC_NORMALIZE_H__ diff --git a/libclc/opencl/include/clc/opencl/math/acos.h b/libclc/opencl/include/clc/opencl/math/acos.h index 0a9104f4003a..f9e9b44bb904 100644 --- a/libclc/opencl/include/clc/opencl/math/acos.h +++ b/libclc/opencl/include/clc/opencl/math/acos.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ACOS_H__ +#define __CLC_OPENCL_MATH_ACOS_H__ + #define __CLC_BODY #define FUNCTION acos #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ACOS_H__ diff --git a/libclc/opencl/include/clc/opencl/math/acosh.h b/libclc/opencl/include/clc/opencl/math/acosh.h index cc1844e41fa9..241b305e6bc8 100644 --- a/libclc/opencl/include/clc/opencl/math/acosh.h +++ b/libclc/opencl/include/clc/opencl/math/acosh.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ACOSH_H__ +#define __CLC_OPENCL_MATH_ACOSH_H__ + #define __CLC_BODY #define FUNCTION acosh #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ACOSH_H__ diff --git a/libclc/opencl/include/clc/opencl/math/acospi.h b/libclc/opencl/include/clc/opencl/math/acospi.h index 34175b1a83d8..7014889dfb7e 100644 --- a/libclc/opencl/include/clc/opencl/math/acospi.h +++ b/libclc/opencl/include/clc/opencl/math/acospi.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ACOSPI_H__ +#define __CLC_OPENCL_MATH_ACOSPI_H__ + #define __CLC_BODY #define FUNCTION acospi #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ACOSPI_H__ diff --git a/libclc/opencl/include/clc/opencl/math/asin.h b/libclc/opencl/include/clc/opencl/math/asin.h index d6055834bc43..1ba1f459a902 100644 --- a/libclc/opencl/include/clc/opencl/math/asin.h +++ b/libclc/opencl/include/clc/opencl/math/asin.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ASIN_H__ +#define __CLC_OPENCL_MATH_ASIN_H__ + #define __CLC_BODY #define FUNCTION asin #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ASIN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/asinh.h b/libclc/opencl/include/clc/opencl/math/asinh.h index d29f05829105..9a530a51fa1e 100644 --- a/libclc/opencl/include/clc/opencl/math/asinh.h +++ b/libclc/opencl/include/clc/opencl/math/asinh.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ASINH_H__ +#define __CLC_OPENCL_MATH_ASINH_H__ + #define __CLC_BODY #define FUNCTION asinh #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ASINH_H__ diff --git a/libclc/opencl/include/clc/opencl/math/asinpi.h b/libclc/opencl/include/clc/opencl/math/asinpi.h index 8d57697f6aca..844848fff043 100644 --- a/libclc/opencl/include/clc/opencl/math/asinpi.h +++ b/libclc/opencl/include/clc/opencl/math/asinpi.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ASINPI_H__ +#define __CLC_OPENCL_MATH_ASINPI_H__ + #define __CLC_BODY #define FUNCTION asinpi #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ASINPI_H__ diff --git a/libclc/opencl/include/clc/opencl/math/atan.h b/libclc/opencl/include/clc/opencl/math/atan.h index 5642000d9166..f2312b8fb073 100644 --- a/libclc/opencl/include/clc/opencl/math/atan.h +++ b/libclc/opencl/include/clc/opencl/math/atan.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ATAN_H__ +#define __CLC_OPENCL_MATH_ATAN_H__ + #define __CLC_BODY #define FUNCTION atan #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ATAN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/atan2.h b/libclc/opencl/include/clc/opencl/math/atan2.h index c6bfb20bacd0..72412d44aafb 100644 --- a/libclc/opencl/include/clc/opencl/math/atan2.h +++ b/libclc/opencl/include/clc/opencl/math/atan2.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ATAN2_H__ +#define __CLC_OPENCL_MATH_ATAN2_H__ + #define FUNCTION atan2 #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ATAN2_H__ diff --git a/libclc/opencl/include/clc/opencl/math/atan2pi.h b/libclc/opencl/include/clc/opencl/math/atan2pi.h index 87817b993842..f12a19776ef2 100644 --- a/libclc/opencl/include/clc/opencl/math/atan2pi.h +++ b/libclc/opencl/include/clc/opencl/math/atan2pi.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ATAN2PI_H__ +#define __CLC_OPENCL_MATH_ATAN2PI_H__ + #define FUNCTION atan2pi #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ATAN2PI_H__ diff --git a/libclc/opencl/include/clc/opencl/math/atanh.h b/libclc/opencl/include/clc/opencl/math/atanh.h index ae0751120f84..147a76b543e6 100644 --- a/libclc/opencl/include/clc/opencl/math/atanh.h +++ b/libclc/opencl/include/clc/opencl/math/atanh.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ATANH_H__ +#define __CLC_OPENCL_MATH_ATANH_H__ + #define __CLC_BODY #define FUNCTION atanh #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ATANH_H__ diff --git a/libclc/opencl/include/clc/opencl/math/atanpi.h b/libclc/opencl/include/clc/opencl/math/atanpi.h index 67d9a13a8dd0..12e9ea250170 100644 --- a/libclc/opencl/include/clc/opencl/math/atanpi.h +++ b/libclc/opencl/include/clc/opencl/math/atanpi.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ATANPI_H__ +#define __CLC_OPENCL_MATH_ATANPI_H__ + #define __CLC_BODY #define FUNCTION atanpi #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ATANPI_H__ diff --git a/libclc/opencl/include/clc/opencl/math/cbrt.h b/libclc/opencl/include/clc/opencl/math/cbrt.h index e2dad07b0f00..fdb408ac9685 100644 --- a/libclc/opencl/include/clc/opencl/math/cbrt.h +++ b/libclc/opencl/include/clc/opencl/math/cbrt.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_CBRT_H__ +#define __CLC_OPENCL_MATH_CBRT_H__ + #define __CLC_BODY #define FUNCTION cbrt #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_CBRT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/ceil.h b/libclc/opencl/include/clc/opencl/math/ceil.h index a7ca6bf12b85..dad2ea4f6980 100644 --- a/libclc/opencl/include/clc/opencl/math/ceil.h +++ b/libclc/opencl/include/clc/opencl/math/ceil.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_CEIL_H__ +#define __CLC_OPENCL_MATH_CEIL_H__ + #define __CLC_BODY #define FUNCTION ceil #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_CEIL_H__ diff --git a/libclc/opencl/include/clc/opencl/math/copysign.h b/libclc/opencl/include/clc/opencl/math/copysign.h index 40baac0a586b..10d6c90edf81 100644 --- a/libclc/opencl/include/clc/opencl/math/copysign.h +++ b/libclc/opencl/include/clc/opencl/math/copysign.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_COPYSIGN_H__ +#define __CLC_OPENCL_MATH_COPYSIGN_H__ + #define FUNCTION copysign #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_COPYSIGN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/cos.h b/libclc/opencl/include/clc/opencl/math/cos.h index 7837075abb5f..4e3aec6c6962 100644 --- a/libclc/opencl/include/clc/opencl/math/cos.h +++ b/libclc/opencl/include/clc/opencl/math/cos.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_COS_H__ +#define __CLC_OPENCL_MATH_COS_H__ + #define __CLC_BODY #define FUNCTION cos #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_COS_H__ diff --git a/libclc/opencl/include/clc/opencl/math/cosh.h b/libclc/opencl/include/clc/opencl/math/cosh.h index bc2c1f595de2..f316433a2351 100644 --- a/libclc/opencl/include/clc/opencl/math/cosh.h +++ b/libclc/opencl/include/clc/opencl/math/cosh.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_COSH_H__ +#define __CLC_OPENCL_MATH_COSH_H__ + #define __CLC_BODY #define FUNCTION cosh #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_COSH_H__ diff --git a/libclc/opencl/include/clc/opencl/math/cospi.h b/libclc/opencl/include/clc/opencl/math/cospi.h index fb55e87d2569..b7dfb0dbafb5 100644 --- a/libclc/opencl/include/clc/opencl/math/cospi.h +++ b/libclc/opencl/include/clc/opencl/math/cospi.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_COSPI_H__ +#define __CLC_OPENCL_MATH_COSPI_H__ + #define __CLC_BODY #define FUNCTION cospi #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_COSPI_H__ diff --git a/libclc/opencl/include/clc/opencl/math/erf.h b/libclc/opencl/include/clc/opencl/math/erf.h index 66737077eef4..8ce262f276e3 100644 --- a/libclc/opencl/include/clc/opencl/math/erf.h +++ b/libclc/opencl/include/clc/opencl/math/erf.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ERF_H__ +#define __CLC_OPENCL_MATH_ERF_H__ + #undef erfc #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ERF_H__ diff --git a/libclc/opencl/include/clc/opencl/math/erfc.h b/libclc/opencl/include/clc/opencl/math/erfc.h index 279a44b49346..26afe1315df6 100644 --- a/libclc/opencl/include/clc/opencl/math/erfc.h +++ b/libclc/opencl/include/clc/opencl/math/erfc.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ERFC_H__ +#define __CLC_OPENCL_MATH_ERFC_H__ + #undef erfc #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ERFC_H__ diff --git a/libclc/opencl/include/clc/opencl/math/exp.h b/libclc/opencl/include/clc/opencl/math/exp.h index 4eb5d31c157e..fb8f674a8c7e 100644 --- a/libclc/opencl/include/clc/opencl/math/exp.h +++ b/libclc/opencl/include/clc/opencl/math/exp.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_EXP_H__ +#define __CLC_OPENCL_MATH_EXP_H__ + #undef exp #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_EXP_H__ diff --git a/libclc/opencl/include/clc/opencl/math/exp10.h b/libclc/opencl/include/clc/opencl/math/exp10.h index feef3bfb27fb..cfd5c6df9d15 100644 --- a/libclc/opencl/include/clc/opencl/math/exp10.h +++ b/libclc/opencl/include/clc/opencl/math/exp10.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_EXP10_H__ +#define __CLC_OPENCL_MATH_EXP10_H__ + #undef exp10 #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_EXP10_H__ diff --git a/libclc/opencl/include/clc/opencl/math/exp2.h b/libclc/opencl/include/clc/opencl/math/exp2.h index 801eecd34d5f..db0405eb1334 100644 --- a/libclc/opencl/include/clc/opencl/math/exp2.h +++ b/libclc/opencl/include/clc/opencl/math/exp2.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_EXP2_H__ +#define __CLC_OPENCL_MATH_EXP2_H__ + #define __CLC_BODY #define FUNCTION exp2 #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_EXP2_H__ diff --git a/libclc/opencl/include/clc/opencl/math/expm1.h b/libclc/opencl/include/clc/opencl/math/expm1.h index b1b27ec8a1fb..0b3628d48468 100644 --- a/libclc/opencl/include/clc/opencl/math/expm1.h +++ b/libclc/opencl/include/clc/opencl/math/expm1.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_EXPM1_H__ +#define __CLC_OPENCL_MATH_EXPM1_H__ + #undef exp #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_EXPM1_H__ diff --git a/libclc/opencl/include/clc/opencl/math/fabs.h b/libclc/opencl/include/clc/opencl/math/fabs.h index d3b4a6cbc2e9..f20016f4eb8b 100644 --- a/libclc/opencl/include/clc/opencl/math/fabs.h +++ b/libclc/opencl/include/clc/opencl/math/fabs.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FABS_H__ +#define __CLC_OPENCL_MATH_FABS_H__ + #define __CLC_BODY #define FUNCTION fabs #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FABS_H__ diff --git a/libclc/opencl/include/clc/opencl/math/fdim.h b/libclc/opencl/include/clc/opencl/math/fdim.h index da05471f0a01..82f70fd83236 100644 --- a/libclc/opencl/include/clc/opencl/math/fdim.h +++ b/libclc/opencl/include/clc/opencl/math/fdim.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FDIM_H__ +#define __CLC_OPENCL_MATH_FDIM_H__ + #define FUNCTION fdim #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FDIM_H__ diff --git a/libclc/opencl/include/clc/opencl/math/floor.h b/libclc/opencl/include/clc/opencl/math/floor.h index 6927366cd5b8..1930aeca74ff 100644 --- a/libclc/opencl/include/clc/opencl/math/floor.h +++ b/libclc/opencl/include/clc/opencl/math/floor.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FLOOR_H__ +#define __CLC_OPENCL_MATH_FLOOR_H__ + #define __CLC_BODY #define FUNCTION floor #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FLOOR_H__ diff --git a/libclc/opencl/include/clc/opencl/math/fma.h b/libclc/opencl/include/clc/opencl/math/fma.h index ebb60a670d69..6fed3fc9b256 100644 --- a/libclc/opencl/include/clc/opencl/math/fma.h +++ b/libclc/opencl/include/clc/opencl/math/fma.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FMA_H__ +#define __CLC_OPENCL_MATH_FMA_H__ + #define __CLC_BODY #define FUNCTION fma #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FMA_H__ diff --git a/libclc/opencl/include/clc/opencl/math/fmax.h b/libclc/opencl/include/clc/opencl/math/fmax.h index be3fba157506..84c754e2c0c7 100644 --- a/libclc/opencl/include/clc/opencl/math/fmax.h +++ b/libclc/opencl/include/clc/opencl/math/fmax.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FMAX_H__ +#define __CLC_OPENCL_MATH_FMAX_H__ + #define __CLC_BODY #define FUNCTION fmax #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FMAX_H__ diff --git a/libclc/opencl/include/clc/opencl/math/fmin.h b/libclc/opencl/include/clc/opencl/math/fmin.h index 4867ed894ea1..b35573e4f633 100644 --- a/libclc/opencl/include/clc/opencl/math/fmin.h +++ b/libclc/opencl/include/clc/opencl/math/fmin.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FMIN_H__ +#define __CLC_OPENCL_MATH_FMIN_H__ + #define __CLC_BODY #define FUNCTION fmin #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FMIN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/fmod.h b/libclc/opencl/include/clc/opencl/math/fmod.h index 9b10fecc0f14..13515006fd2b 100644 --- a/libclc/opencl/include/clc/opencl/math/fmod.h +++ b/libclc/opencl/include/clc/opencl/math/fmod.h @@ -6,7 +6,12 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FMOD_H__ +#define __CLC_OPENCL_MATH_FMOD_H__ + #define FUNCTION fmod #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FMOD_H__ diff --git a/libclc/opencl/include/clc/opencl/math/fract.h b/libclc/opencl/include/clc/opencl/math/fract.h index 01c06771421e..de953f78c594 100644 --- a/libclc/opencl/include/clc/opencl/math/fract.h +++ b/libclc/opencl/include/clc/opencl/math/fract.h @@ -6,7 +6,12 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FRACT_H__ +#define __CLC_OPENCL_MATH_FRACT_H__ + #define FUNCTION fract #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FRACT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/frexp.h b/libclc/opencl/include/clc/opencl/math/frexp.h index 38d494228470..c7ed7cbd1cbc 100644 --- a/libclc/opencl/include/clc/opencl/math/frexp.h +++ b/libclc/opencl/include/clc/opencl/math/frexp.h @@ -6,8 +6,13 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_FREXP_H__ +#define __CLC_OPENCL_MATH_FREXP_H__ + #define FUNCTION frexp #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_FREXP_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_cos.h b/libclc/opencl/include/clc/opencl/math/half_cos.h index 63c3216756e3..5ab0b69ca422 100644 --- a/libclc/opencl/include/clc/opencl/math/half_cos.h +++ b/libclc/opencl/include/clc/opencl/math/half_cos.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_COS_H__ +#define __CLC_OPENCL_MATH_HALF_COS_H__ + #define __CLC_BODY #define FUNCTION half_cos #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_COS_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_divide.h b/libclc/opencl/include/clc/opencl/math/half_divide.h index fd69b94fb5a3..ff506d0c9fd6 100644 --- a/libclc/opencl/include/clc/opencl/math/half_divide.h +++ b/libclc/opencl/include/clc/opencl/math/half_divide.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_DIVIDE_H__ +#define __CLC_OPENCL_MATH_HALF_DIVIDE_H__ + #define __CLC_BODY #define FUNCTION half_divide #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_DIVIDE_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_exp.h b/libclc/opencl/include/clc/opencl/math/half_exp.h index a815ebc91eef..22780c144923 100644 --- a/libclc/opencl/include/clc/opencl/math/half_exp.h +++ b/libclc/opencl/include/clc/opencl/math/half_exp.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_EXP_H__ +#define __CLC_OPENCL_MATH_HALF_EXP_H__ + #define __CLC_BODY #define FUNCTION half_exp #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_EXP_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_exp10.h b/libclc/opencl/include/clc/opencl/math/half_exp10.h index 80b74a2f4228..1a8195e67eee 100644 --- a/libclc/opencl/include/clc/opencl/math/half_exp10.h +++ b/libclc/opencl/include/clc/opencl/math/half_exp10.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_EXP10_H__ +#define __CLC_OPENCL_MATH_HALF_EXP10_H__ + #define __CLC_BODY #define FUNCTION half_exp10 #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_EXP10_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_exp2.h b/libclc/opencl/include/clc/opencl/math/half_exp2.h index eaa0cb3b5704..2ca69aa1ea07 100644 --- a/libclc/opencl/include/clc/opencl/math/half_exp2.h +++ b/libclc/opencl/include/clc/opencl/math/half_exp2.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_EXP2_H__ +#define __CLC_OPENCL_MATH_HALF_EXP2_H__ + #define __CLC_BODY #define FUNCTION half_exp2 #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_EXP2_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_log.h b/libclc/opencl/include/clc/opencl/math/half_log.h index ea20a37b96e5..d2eef868790f 100644 --- a/libclc/opencl/include/clc/opencl/math/half_log.h +++ b/libclc/opencl/include/clc/opencl/math/half_log.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_LOG_H__ +#define __CLC_OPENCL_MATH_HALF_LOG_H__ + #define __CLC_BODY #define FUNCTION half_log #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_LOG_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_log10.h b/libclc/opencl/include/clc/opencl/math/half_log10.h index 35217f85bfea..e0f85fff3f3e 100644 --- a/libclc/opencl/include/clc/opencl/math/half_log10.h +++ b/libclc/opencl/include/clc/opencl/math/half_log10.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_LOG10_H__ +#define __CLC_OPENCL_MATH_HALF_LOG10_H__ + #define __CLC_BODY #define FUNCTION half_log10 #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_LOG10_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_log2.h b/libclc/opencl/include/clc/opencl/math/half_log2.h index bbcc0b9d17aa..ba0105d88356 100644 --- a/libclc/opencl/include/clc/opencl/math/half_log2.h +++ b/libclc/opencl/include/clc/opencl/math/half_log2.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_LOG2_H__ +#define __CLC_OPENCL_MATH_HALF_LOG2_H__ + #define __CLC_BODY #define FUNCTION half_log2 #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_LOG2_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_powr.h b/libclc/opencl/include/clc/opencl/math/half_powr.h index eaa16251b68a..4b792c0c6cba 100644 --- a/libclc/opencl/include/clc/opencl/math/half_powr.h +++ b/libclc/opencl/include/clc/opencl/math/half_powr.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_POWR_H__ +#define __CLC_OPENCL_MATH_HALF_POWR_H__ + #define __CLC_BODY #define FUNCTION half_powr #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_POWR_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_recip.h b/libclc/opencl/include/clc/opencl/math/half_recip.h index b91b0d3d7c71..3425df4e476d 100644 --- a/libclc/opencl/include/clc/opencl/math/half_recip.h +++ b/libclc/opencl/include/clc/opencl/math/half_recip.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_RECIP_H__ +#define __CLC_OPENCL_MATH_HALF_RECIP_H__ + #define __CLC_BODY #define FUNCTION half_recip #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_RECIP_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_rsqrt.h b/libclc/opencl/include/clc/opencl/math/half_rsqrt.h index 5fc2764537aa..e22a7375cacd 100644 --- a/libclc/opencl/include/clc/opencl/math/half_rsqrt.h +++ b/libclc/opencl/include/clc/opencl/math/half_rsqrt.h @@ -6,8 +6,13 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_RSQRT_H__ +#define __CLC_OPENCL_MATH_HALF_RSQRT_H__ + #define __CLC_BODY #define FUNCTION half_rsqrt #define __FLOAT_ONLY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_RSQRT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_sin.h b/libclc/opencl/include/clc/opencl/math/half_sin.h index 279605d15ffc..cb0462c45436 100644 --- a/libclc/opencl/include/clc/opencl/math/half_sin.h +++ b/libclc/opencl/include/clc/opencl/math/half_sin.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_SIN_H__ +#define __CLC_OPENCL_MATH_HALF_SIN_H__ + #define __CLC_BODY #define FUNCTION half_sin #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_SIN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_sqrt.h b/libclc/opencl/include/clc/opencl/math/half_sqrt.h index 5c8080b7c584..f755fee7b4be 100644 --- a/libclc/opencl/include/clc/opencl/math/half_sqrt.h +++ b/libclc/opencl/include/clc/opencl/math/half_sqrt.h @@ -6,8 +6,13 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_SQRT_H__ +#define __CLC_OPENCL_MATH_HALF_SQRT_H__ + #define __CLC_BODY #define FUNCTION half_sqrt #define __FLOAT_ONLY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_SQRT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/half_tan.h b/libclc/opencl/include/clc/opencl/math/half_tan.h index e63d919fb600..91b5b11ae178 100644 --- a/libclc/opencl/include/clc/opencl/math/half_tan.h +++ b/libclc/opencl/include/clc/opencl/math/half_tan.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HALF_TAN_H__ +#define __CLC_OPENCL_MATH_HALF_TAN_H__ + #define __CLC_BODY #define FUNCTION half_tan #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HALF_TAN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/hypot.h b/libclc/opencl/include/clc/opencl/math/hypot.h index 4b3dae721cd5..76ff6ef0655a 100644 --- a/libclc/opencl/include/clc/opencl/math/hypot.h +++ b/libclc/opencl/include/clc/opencl/math/hypot.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_HYPOT_H__ +#define __CLC_OPENCL_MATH_HYPOT_H__ + #define FUNCTION hypot #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_HYPOT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/ilogb.h b/libclc/opencl/include/clc/opencl/math/ilogb.h index 49ef681390aa..d9752a644bee 100644 --- a/libclc/opencl/include/clc/opencl/math/ilogb.h +++ b/libclc/opencl/include/clc/opencl/math/ilogb.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ILOGB_H__ +#define __CLC_OPENCL_MATH_ILOGB_H__ + #define FUNCTION ilogb #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ILOGB_H__ diff --git a/libclc/opencl/include/clc/opencl/math/ldexp.h b/libclc/opencl/include/clc/opencl/math/ldexp.h index 783ecd1db382..b0194d9c9ada 100644 --- a/libclc/opencl/include/clc/opencl/math/ldexp.h +++ b/libclc/opencl/include/clc/opencl/math/ldexp.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_LDEXP_H__ +#define __CLC_OPENCL_MATH_LDEXP_H__ + #define FUNCTION ldexp #define __CLC_BODY #include @@ -13,3 +16,5 @@ #define __CLC_BODY #include + +#endif // __CLC_OPENCL_MATH_LDEXP_H__ diff --git a/libclc/opencl/include/clc/opencl/math/lgamma.h b/libclc/opencl/include/clc/opencl/math/lgamma.h index 63120747a26a..95ed07c3531e 100644 --- a/libclc/opencl/include/clc/opencl/math/lgamma.h +++ b/libclc/opencl/include/clc/opencl/math/lgamma.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_LGAMMA_H__ +#define __CLC_OPENCL_MATH_LGAMMA_H__ + #define __CLC_BODY #define FUNCTION lgamma #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_LGAMMA_H__ diff --git a/libclc/opencl/include/clc/opencl/math/lgamma_r.h b/libclc/opencl/include/clc/opencl/math/lgamma_r.h index 1dd7cca89093..4853d2dd5c28 100644 --- a/libclc/opencl/include/clc/opencl/math/lgamma_r.h +++ b/libclc/opencl/include/clc/opencl/math/lgamma_r.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_LGAMMA_R_H__ +#define __CLC_OPENCL_MATH_LGAMMA_R_H__ + #define FUNCTION lgamma_r #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_LGAMMA_R_H__ diff --git a/libclc/opencl/include/clc/opencl/math/log.h b/libclc/opencl/include/clc/opencl/math/log.h index ab8e85908cde..2d536d6b0926 100644 --- a/libclc/opencl/include/clc/opencl/math/log.h +++ b/libclc/opencl/include/clc/opencl/math/log.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_LOG_H__ +#define __CLC_OPENCL_MATH_LOG_H__ + #define __CLC_BODY #define FUNCTION log #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_LOG_H__ diff --git a/libclc/opencl/include/clc/opencl/math/log10.h b/libclc/opencl/include/clc/opencl/math/log10.h index eec17f2da9b5..0f83b8c2a03e 100644 --- a/libclc/opencl/include/clc/opencl/math/log10.h +++ b/libclc/opencl/include/clc/opencl/math/log10.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_LOG10_H__ +#define __CLC_OPENCL_MATH_LOG10_H__ + #define __CLC_BODY #define FUNCTION log10 #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_LOG10_H__ diff --git a/libclc/opencl/include/clc/opencl/math/log1p.h b/libclc/opencl/include/clc/opencl/math/log1p.h index 6334f7d86e4e..bd8adeda88d4 100644 --- a/libclc/opencl/include/clc/opencl/math/log1p.h +++ b/libclc/opencl/include/clc/opencl/math/log1p.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_LOG1P_H__ +#define __CLC_OPENCL_MATH_LOG1P_H__ + #define __CLC_BODY #define FUNCTION log1p #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_LOG1P_H__ diff --git a/libclc/opencl/include/clc/opencl/math/log2.h b/libclc/opencl/include/clc/opencl/math/log2.h index ae9992a619ca..e4f6cb619acf 100644 --- a/libclc/opencl/include/clc/opencl/math/log2.h +++ b/libclc/opencl/include/clc/opencl/math/log2.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_LOG2_H__ +#define __CLC_OPENCL_MATH_LOG2_H__ + #define __CLC_BODY #define FUNCTION log2 #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_LOG2_H__ diff --git a/libclc/opencl/include/clc/opencl/math/logb.h b/libclc/opencl/include/clc/opencl/math/logb.h index 75e153b50047..3bbc8476d2ff 100644 --- a/libclc/opencl/include/clc/opencl/math/logb.h +++ b/libclc/opencl/include/clc/opencl/math/logb.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_LOGB_H__ +#define __CLC_OPENCL_MATH_LOGB_H__ + #define __CLC_BODY #define FUNCTION logb #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_LOGB_H__ diff --git a/libclc/opencl/include/clc/opencl/math/mad.h b/libclc/opencl/include/clc/opencl/math/mad.h index 20e199a78a71..18732eb7be66 100644 --- a/libclc/opencl/include/clc/opencl/math/mad.h +++ b/libclc/opencl/include/clc/opencl/math/mad.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_MAD_H__ +#define __CLC_OPENCL_MATH_MAD_H__ + #define __CLC_BODY #define FUNCTION mad #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_MAD_H__ diff --git a/libclc/opencl/include/clc/opencl/math/maxmag.h b/libclc/opencl/include/clc/opencl/math/maxmag.h index ea41128d6b6b..c8f3d5700fa2 100644 --- a/libclc/opencl/include/clc/opencl/math/maxmag.h +++ b/libclc/opencl/include/clc/opencl/math/maxmag.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_MAXMAG_H__ +#define __CLC_OPENCL_MATH_MAXMAG_H__ + #define __CLC_BODY #define FUNCTION maxmag #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_MAXMAG_H__ diff --git a/libclc/opencl/include/clc/opencl/math/minmag.h b/libclc/opencl/include/clc/opencl/math/minmag.h index 59b3916e5693..c90a9d9bdbeb 100644 --- a/libclc/opencl/include/clc/opencl/math/minmag.h +++ b/libclc/opencl/include/clc/opencl/math/minmag.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_MINMAG_H__ +#define __CLC_OPENCL_MATH_MINMAG_H__ + #define __CLC_BODY #define FUNCTION minmag #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_MINMAG_H__ diff --git a/libclc/opencl/include/clc/opencl/math/modf.h b/libclc/opencl/include/clc/opencl/math/modf.h index 75bf8d849a70..a336c9e242c1 100644 --- a/libclc/opencl/include/clc/opencl/math/modf.h +++ b/libclc/opencl/include/clc/opencl/math/modf.h @@ -6,8 +6,13 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_MODF_H__ +#define __CLC_OPENCL_MATH_MODF_H__ + #define FUNCTION modf #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_MODF_H__ diff --git a/libclc/opencl/include/clc/opencl/math/nan.h b/libclc/opencl/include/clc/opencl/math/nan.h index c5be0af945a5..d98ac5660349 100644 --- a/libclc/opencl/include/clc/opencl/math/nan.h +++ b/libclc/opencl/include/clc/opencl/math/nan.h @@ -6,5 +6,10 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NAN_H__ +#define __CLC_OPENCL_MATH_NAN_H__ + #define __CLC_BODY #include + +#endif // __CLC_OPENCL_MATH_NAN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_cos.h b/libclc/opencl/include/clc/opencl/math/native_cos.h index fa2a94abe292..566c32e95b32 100644 --- a/libclc/opencl/include/clc/opencl/math/native_cos.h +++ b/libclc/opencl/include/clc/opencl/math/native_cos.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_COS_H__ +#define __CLC_OPENCL_MATH_NATIVE_COS_H__ + #define __CLC_BODY #define FUNCTION native_cos #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_COS_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_divide.h b/libclc/opencl/include/clc/opencl/math/native_divide.h index 60742038d9e4..23360b4bdeb9 100644 --- a/libclc/opencl/include/clc/opencl/math/native_divide.h +++ b/libclc/opencl/include/clc/opencl/math/native_divide.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_DIVIDE_H__ +#define __CLC_OPENCL_MATH_NATIVE_DIVIDE_H__ + #define __CLC_BODY #define FUNCTION native_divide #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_DIVIDE_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_exp.h b/libclc/opencl/include/clc/opencl/math/native_exp.h index c77ffed7f37b..5133469509ff 100644 --- a/libclc/opencl/include/clc/opencl/math/native_exp.h +++ b/libclc/opencl/include/clc/opencl/math/native_exp.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_EXP_H__ +#define __CLC_OPENCL_MATH_NATIVE_EXP_H__ + #define __CLC_BODY #define FUNCTION native_exp #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_EXP_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_exp10.h b/libclc/opencl/include/clc/opencl/math/native_exp10.h index 4f1f1c4ee183..8a2788cd3bca 100644 --- a/libclc/opencl/include/clc/opencl/math/native_exp10.h +++ b/libclc/opencl/include/clc/opencl/math/native_exp10.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_EXP10_H__ +#define __CLC_OPENCL_MATH_NATIVE_EXP10_H__ + #define __CLC_BODY #define FUNCTION native_exp10 #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_EXP10_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_exp2.h b/libclc/opencl/include/clc/opencl/math/native_exp2.h index 33e2ad37168d..5a6aed09a838 100644 --- a/libclc/opencl/include/clc/opencl/math/native_exp2.h +++ b/libclc/opencl/include/clc/opencl/math/native_exp2.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_EXP2_H__ +#define __CLC_OPENCL_MATH_NATIVE_EXP2_H__ + #define __CLC_BODY #define FUNCTION native_exp2 #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_EXP2_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_log.h b/libclc/opencl/include/clc/opencl/math/native_log.h index 6564416e8497..58164960644f 100644 --- a/libclc/opencl/include/clc/opencl/math/native_log.h +++ b/libclc/opencl/include/clc/opencl/math/native_log.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_LOG_H__ +#define __CLC_OPENCL_MATH_NATIVE_LOG_H__ + #define __CLC_BODY #define FUNCTION native_log #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_LOG_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_log10.h b/libclc/opencl/include/clc/opencl/math/native_log10.h index ef6e2a7ddbc2..c215c733c042 100644 --- a/libclc/opencl/include/clc/opencl/math/native_log10.h +++ b/libclc/opencl/include/clc/opencl/math/native_log10.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_LOG10_H__ +#define __CLC_OPENCL_MATH_NATIVE_LOG10_H__ + #define __CLC_BODY #define FUNCTION native_log10 #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_LOG10_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_log2.h b/libclc/opencl/include/clc/opencl/math/native_log2.h index c1d7d54eb3de..783abe6cd8e4 100644 --- a/libclc/opencl/include/clc/opencl/math/native_log2.h +++ b/libclc/opencl/include/clc/opencl/math/native_log2.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_LOG2_H__ +#define __CLC_OPENCL_MATH_NATIVE_LOG2_H__ + #define __CLC_BODY #define FUNCTION native_log2 #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_LOG2_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_powr.h b/libclc/opencl/include/clc/opencl/math/native_powr.h index 3e472e313bfc..9c8e171afc21 100644 --- a/libclc/opencl/include/clc/opencl/math/native_powr.h +++ b/libclc/opencl/include/clc/opencl/math/native_powr.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_POWR_H__ +#define __CLC_OPENCL_MATH_NATIVE_POWR_H__ + #define __CLC_BODY #define FUNCTION native_powr #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_POWR_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_recip.h b/libclc/opencl/include/clc/opencl/math/native_recip.h index 8aea05ba9358..1c88c076e03c 100644 --- a/libclc/opencl/include/clc/opencl/math/native_recip.h +++ b/libclc/opencl/include/clc/opencl/math/native_recip.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_RECIP_H__ +#define __CLC_OPENCL_MATH_NATIVE_RECIP_H__ + #define __CLC_BODY #define FUNCTION native_recip #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_RECIP_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_rsqrt.h b/libclc/opencl/include/clc/opencl/math/native_rsqrt.h index 5f73545ce0f7..2806f9128d94 100644 --- a/libclc/opencl/include/clc/opencl/math/native_rsqrt.h +++ b/libclc/opencl/include/clc/opencl/math/native_rsqrt.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_RSQRT_H__ +#define __CLC_OPENCL_MATH_NATIVE_RSQRT_H__ + #define __CLC_BODY #define FUNCTION native_rsqrt #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_RSQRT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_sin.h b/libclc/opencl/include/clc/opencl/math/native_sin.h index c109b5ecad5e..81f664153cee 100644 --- a/libclc/opencl/include/clc/opencl/math/native_sin.h +++ b/libclc/opencl/include/clc/opencl/math/native_sin.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_SIN_H__ +#define __CLC_OPENCL_MATH_NATIVE_SIN_H__ + #define __CLC_BODY #define FUNCTION native_sin #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_SIN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_sqrt.h b/libclc/opencl/include/clc/opencl/math/native_sqrt.h index 061565ca1b30..dca0e542e0ac 100644 --- a/libclc/opencl/include/clc/opencl/math/native_sqrt.h +++ b/libclc/opencl/include/clc/opencl/math/native_sqrt.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_SQRT_H__ +#define __CLC_OPENCL_MATH_NATIVE_SQRT_H__ + #define __CLC_BODY #define FUNCTION native_sqrt #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_SQRT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/native_tan.h b/libclc/opencl/include/clc/opencl/math/native_tan.h index 5b93b2604b47..cf942110e312 100644 --- a/libclc/opencl/include/clc/opencl/math/native_tan.h +++ b/libclc/opencl/include/clc/opencl/math/native_tan.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NATIVE_TAN_H__ +#define __CLC_OPENCL_MATH_NATIVE_TAN_H__ + #define __CLC_BODY #define FUNCTION native_tan #define __FLOAT_ONLY @@ -13,3 +16,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NATIVE_TAN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/nextafter.h b/libclc/opencl/include/clc/opencl/math/nextafter.h index 3b95500b0e9d..e338f5bf6c2a 100644 --- a/libclc/opencl/include/clc/opencl/math/nextafter.h +++ b/libclc/opencl/include/clc/opencl/math/nextafter.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_NEXTAFTER_H__ +#define __CLC_OPENCL_MATH_NEXTAFTER_H__ + #define FUNCTION nextafter #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_NEXTAFTER_H__ diff --git a/libclc/opencl/include/clc/opencl/math/pow.h b/libclc/opencl/include/clc/opencl/math/pow.h index 3b62f4c154f3..3f4c1746faa9 100644 --- a/libclc/opencl/include/clc/opencl/math/pow.h +++ b/libclc/opencl/include/clc/opencl/math/pow.h @@ -6,7 +6,12 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_POW_H__ +#define __CLC_OPENCL_MATH_POW_H__ + #define FUNCTION pow #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_POW_H__ diff --git a/libclc/opencl/include/clc/opencl/math/pown.h b/libclc/opencl/include/clc/opencl/math/pown.h index ba249712ec84..fd97a705c8c8 100644 --- a/libclc/opencl/include/clc/opencl/math/pown.h +++ b/libclc/opencl/include/clc/opencl/math/pown.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_POWN_H__ +#define __CLC_OPENCL_MATH_POWN_H__ + #define FUNCTION pown #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_POWN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/powr.h b/libclc/opencl/include/clc/opencl/math/powr.h index 6cbcbc143f40..47f653a73afa 100644 --- a/libclc/opencl/include/clc/opencl/math/powr.h +++ b/libclc/opencl/include/clc/opencl/math/powr.h @@ -6,7 +6,12 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_POWR_H__ +#define __CLC_OPENCL_MATH_POWR_H__ + #define FUNCTION powr #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_POWR_H__ diff --git a/libclc/opencl/include/clc/opencl/math/remainder.h b/libclc/opencl/include/clc/opencl/math/remainder.h index 0315516a1e5a..416a0422c9a6 100644 --- a/libclc/opencl/include/clc/opencl/math/remainder.h +++ b/libclc/opencl/include/clc/opencl/math/remainder.h @@ -6,7 +6,12 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_REMAINDER_H__ +#define __CLC_OPENCL_MATH_REMAINDER_H__ + #define FUNCTION remainder #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_REMAINDER_H__ diff --git a/libclc/opencl/include/clc/opencl/math/remquo.h b/libclc/opencl/include/clc/opencl/math/remquo.h index 5ce010e2c273..3525c6bd0f68 100644 --- a/libclc/opencl/include/clc/opencl/math/remquo.h +++ b/libclc/opencl/include/clc/opencl/math/remquo.h @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_REMQUO_H__ +#define __CLC_OPENCL_MATH_REMQUO_H__ + #define FUNCTION remquo #define __CLC_BODY @@ -19,3 +22,5 @@ #endif #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_REMQUO_H__ diff --git a/libclc/opencl/include/clc/opencl/math/rint.h b/libclc/opencl/include/clc/opencl/math/rint.h index bb27f3d32153..8f08fd20c3c9 100644 --- a/libclc/opencl/include/clc/opencl/math/rint.h +++ b/libclc/opencl/include/clc/opencl/math/rint.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_RINT_H__ +#define __CLC_OPENCL_MATH_RINT_H__ + #define __CLC_BODY #define FUNCTION rint #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_RINT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/rootn.h b/libclc/opencl/include/clc/opencl/math/rootn.h index 0751e875948f..20b52e7c01dc 100644 --- a/libclc/opencl/include/clc/opencl/math/rootn.h +++ b/libclc/opencl/include/clc/opencl/math/rootn.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ROOTN_H__ +#define __CLC_OPENCL_MATH_ROOTN_H__ + #define __CLC_BODY #define FUNCTION rootn #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ROOTN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/round.h b/libclc/opencl/include/clc/opencl/math/round.h index 6764c251bdb9..65bfc265ced0 100644 --- a/libclc/opencl/include/clc/opencl/math/round.h +++ b/libclc/opencl/include/clc/opencl/math/round.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_ROUND_H__ +#define __CLC_OPENCL_MATH_ROUND_H__ + #define __CLC_BODY #define FUNCTION round #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_ROUND_H__ diff --git a/libclc/opencl/include/clc/opencl/math/rsqrt.h b/libclc/opencl/include/clc/opencl/math/rsqrt.h index 4bcda124c8b8..41fb54ea9bb5 100644 --- a/libclc/opencl/include/clc/opencl/math/rsqrt.h +++ b/libclc/opencl/include/clc/opencl/math/rsqrt.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_RSQRT_H__ +#define __CLC_OPENCL_MATH_RSQRT_H__ + #define __CLC_BODY #define FUNCTION rsqrt #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_RSQRT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/sin.h b/libclc/opencl/include/clc/opencl/math/sin.h index 38761d946cc9..fc7741e164fd 100644 --- a/libclc/opencl/include/clc/opencl/math/sin.h +++ b/libclc/opencl/include/clc/opencl/math/sin.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_SIN_H__ +#define __CLC_OPENCL_MATH_SIN_H__ + #define __CLC_BODY #define FUNCTION sin #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_SIN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/sincos.h b/libclc/opencl/include/clc/opencl/math/sincos.h index 01d034e97d97..0231560a6b9d 100644 --- a/libclc/opencl/include/clc/opencl/math/sincos.h +++ b/libclc/opencl/include/clc/opencl/math/sincos.h @@ -6,7 +6,12 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_SINCOS_H__ +#define __CLC_OPENCL_MATH_SINCOS_H__ + #define __CLC_BODY #define FUNCTION sincos #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_SINCOS_H__ diff --git a/libclc/opencl/include/clc/opencl/math/sinh.h b/libclc/opencl/include/clc/opencl/math/sinh.h index 194a6acf155a..cbe30551ec64 100644 --- a/libclc/opencl/include/clc/opencl/math/sinh.h +++ b/libclc/opencl/include/clc/opencl/math/sinh.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_SINH_H__ +#define __CLC_OPENCL_MATH_SINH_H__ + #define __CLC_BODY #define FUNCTION sinh #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_SINH_H__ diff --git a/libclc/opencl/include/clc/opencl/math/sinpi.h b/libclc/opencl/include/clc/opencl/math/sinpi.h index f4be7d08ab5f..3ef55a1cd42d 100644 --- a/libclc/opencl/include/clc/opencl/math/sinpi.h +++ b/libclc/opencl/include/clc/opencl/math/sinpi.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_SINPI_H__ +#define __CLC_OPENCL_MATH_SINPI_H__ + #define __CLC_BODY #define FUNCTION sinpi #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_SINPI_H__ diff --git a/libclc/opencl/include/clc/opencl/math/sqrt.h b/libclc/opencl/include/clc/opencl/math/sqrt.h index 6f842365b469..8da37e94e756 100644 --- a/libclc/opencl/include/clc/opencl/math/sqrt.h +++ b/libclc/opencl/include/clc/opencl/math/sqrt.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_SQRT_H__ +#define __CLC_OPENCL_MATH_SQRT_H__ + #define __CLC_BODY #define FUNCTION sqrt #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_SQRT_H__ diff --git a/libclc/opencl/include/clc/opencl/math/tan.h b/libclc/opencl/include/clc/opencl/math/tan.h index 312561364889..b7bab825c935 100644 --- a/libclc/opencl/include/clc/opencl/math/tan.h +++ b/libclc/opencl/include/clc/opencl/math/tan.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_TAN_H__ +#define __CLC_OPENCL_MATH_TAN_H__ + #define __CLC_BODY #define FUNCTION tan #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_TAN_H__ diff --git a/libclc/opencl/include/clc/opencl/math/tanh.h b/libclc/opencl/include/clc/opencl/math/tanh.h index fef93ebe9f7b..168c06d50cb2 100644 --- a/libclc/opencl/include/clc/opencl/math/tanh.h +++ b/libclc/opencl/include/clc/opencl/math/tanh.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_TANH_H__ +#define __CLC_OPENCL_MATH_TANH_H__ + #define __CLC_BODY #define FUNCTION tanh #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_TANH_H__ diff --git a/libclc/opencl/include/clc/opencl/math/tanpi.h b/libclc/opencl/include/clc/opencl/math/tanpi.h index 2df53e8fe99b..0475027086f6 100644 --- a/libclc/opencl/include/clc/opencl/math/tanpi.h +++ b/libclc/opencl/include/clc/opencl/math/tanpi.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_TANPI_H__ +#define __CLC_OPENCL_MATH_TANPI_H__ + #define __CLC_BODY #define FUNCTION tanpi #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_TANPI_H__ diff --git a/libclc/opencl/include/clc/opencl/math/tgamma.h b/libclc/opencl/include/clc/opencl/math/tgamma.h index 8c0f320c7c34..6629c0200245 100644 --- a/libclc/opencl/include/clc/opencl/math/tgamma.h +++ b/libclc/opencl/include/clc/opencl/math/tgamma.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_TGAMMA_H__ +#define __CLC_OPENCL_MATH_TGAMMA_H__ + #define __CLC_BODY #define FUNCTION tgamma #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_TGAMMA_H__ diff --git a/libclc/opencl/include/clc/opencl/math/trunc.h b/libclc/opencl/include/clc/opencl/math/trunc.h index 41597cb56209..0e61f6e1679f 100644 --- a/libclc/opencl/include/clc/opencl/math/trunc.h +++ b/libclc/opencl/include/clc/opencl/math/trunc.h @@ -6,9 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_MATH_TRUNC_H__ +#define __CLC_OPENCL_MATH_TRUNC_H__ + #define __CLC_BODY #define FUNCTION trunc #include #undef FUNCTION + +#endif // __CLC_OPENCL_MATH_TRUNC_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/all.h b/libclc/opencl/include/clc/opencl/relational/all.h index 31c8e895f666..6c19d83e25bb 100644 --- a/libclc/opencl/include/clc/opencl/relational/all.h +++ b/libclc/opencl/include/clc/opencl/relational/all.h @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_ALL_H__ +#define __CLC_OPENCL_RELATIONAL_ALL_H__ + +#include + #define _CLC_ALL_DECL(TYPE) _CLC_OVERLOAD _CLC_DECL int all(TYPE v); #define _CLC_VECTOR_ALL_DECL(TYPE) \ @@ -23,3 +28,5 @@ _CLC_VECTOR_ALL_DECL(long) #undef _CLC_ALL_DECL #undef _CLC_VECTOR_ALL_DECL + +#endif // __CLC_OPENCL_RELATIONAL_ALL_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/any.h b/libclc/opencl/include/clc/opencl/relational/any.h index 9c227e8f1600..4f6b2e22460c 100644 --- a/libclc/opencl/include/clc/opencl/relational/any.h +++ b/libclc/opencl/include/clc/opencl/relational/any.h @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_ANY_H__ +#define __CLC_OPENCL_RELATIONAL_ANY_H__ + +#include + #define _CLC_ANY_DECL(TYPE) _CLC_OVERLOAD _CLC_DECL int any(TYPE v); #define _CLC_VECTOR_ANY_DECL(TYPE) \ @@ -23,3 +28,5 @@ _CLC_VECTOR_ANY_DECL(long) #undef _CLC_ANY_DECL #undef _CLC_VECTOR_ANY_DECL + +#endif // __CLC_OPENCL_RELATIONAL_ANY_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/bitselect.h b/libclc/opencl/include/clc/opencl/relational/bitselect.h index 7a39d5468e5f..9e967c6e2d64 100644 --- a/libclc/opencl/include/clc/opencl/relational/bitselect.h +++ b/libclc/opencl/include/clc/opencl/relational/bitselect.h @@ -6,7 +6,14 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_BITSELECT_H__ +#define __CLC_OPENCL_RELATIONAL_BITSELECT_H__ + +#include + #define __CLC_BODY #include #define __CLC_BODY #include + +#endif // __CLC_OPENCL_RELATIONAL_BITSELECT_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isequal.h b/libclc/opencl/include/clc/opencl/relational/isequal.h index 090b9928ede2..c679b2cfc3fe 100644 --- a/libclc/opencl/include/clc/opencl/relational/isequal.h +++ b/libclc/opencl/include/clc/opencl/relational/isequal.h @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_ISEQUAL_H__ +#define __CLC_OPENCL_RELATIONAL_ISEQUAL_H__ + +#include + #define _CLC_ISEQUAL_DECL(TYPE, RETTYPE) \ _CLC_OVERLOAD _CLC_DECL RETTYPE isequal(TYPE x, TYPE y); @@ -30,3 +35,5 @@ _CLC_VECTOR_ISEQUAL_DECL(half, short) #undef _CLC_ISEQUAL_DECL #undef _CLC_VECTOR_ISEQUAL_DEC + +#endif // __CLC_OPENCL_RELATIONAL_ISEQUAL_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isfinite.h b/libclc/opencl/include/clc/opencl/relational/isfinite.h index 3c70ebacd7df..2548e6acf510 100644 --- a/libclc/opencl/include/clc/opencl/relational/isfinite.h +++ b/libclc/opencl/include/clc/opencl/relational/isfinite.h @@ -6,7 +6,10 @@ // //===----------------------------------------------------------------------===// -#undef isfinite +#ifndef __CLC_OPENCL_RELATIONAL_ISFINITE_H__ +#define __CLC_OPENCL_RELATIONAL_ISFINITE_H__ + +#include #define FUNCTION isfinite #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISFINITE_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isgreater.h b/libclc/opencl/include/clc/opencl/relational/isgreater.h index f64b5d8c13e2..6dfe6eb810e2 100644 --- a/libclc/opencl/include/clc/opencl/relational/isgreater.h +++ b/libclc/opencl/include/clc/opencl/relational/isgreater.h @@ -6,7 +6,10 @@ // //===----------------------------------------------------------------------===// -#undef isgreater +#ifndef __CLC_OPENCL_RELATIONAL_ISGREATER_H__ +#define __CLC_OPENCL_RELATIONAL_ISGREATER_H__ + +#include #define FUNCTION isgreater #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISGREATER_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isgreaterequal.h b/libclc/opencl/include/clc/opencl/relational/isgreaterequal.h index e8b6a03e6bf4..1db2c5d58d06 100644 --- a/libclc/opencl/include/clc/opencl/relational/isgreaterequal.h +++ b/libclc/opencl/include/clc/opencl/relational/isgreaterequal.h @@ -6,7 +6,10 @@ // //===----------------------------------------------------------------------===// -#undef isgreaterequal +#ifndef __CLC_OPENCL_RELATIONAL_ISGREATEREQUAL_H__ +#define __CLC_OPENCL_RELATIONAL_ISGREATEREQUAL_H__ + +#include #define FUNCTION isgreaterequal #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISGREATEREQUAL_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isinf.h b/libclc/opencl/include/clc/opencl/relational/isinf.h index da38b01e364b..561cb1cda47b 100644 --- a/libclc/opencl/include/clc/opencl/relational/isinf.h +++ b/libclc/opencl/include/clc/opencl/relational/isinf.h @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_ISINF_H__ +#define __CLC_OPENCL_RELATIONAL_ISINF_H__ + +#include + #define _CLC_ISINF_DECL(RET_TYPE, ARG_TYPE) \ _CLC_OVERLOAD _CLC_DECL RET_TYPE isinf(ARG_TYPE); @@ -31,3 +36,5 @@ _CLC_VECTOR_ISINF_DECL(short, half) #undef _CLC_ISINF_DECL #undef _CLC_VECTOR_ISINF_DECL + +#endif // __CLC_OPENCL_RELATIONAL_ISINF_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isless.h b/libclc/opencl/include/clc/opencl/relational/isless.h index d5a8c06beb68..3e2afb32cddf 100644 --- a/libclc/opencl/include/clc/opencl/relational/isless.h +++ b/libclc/opencl/include/clc/opencl/relational/isless.h @@ -6,9 +6,16 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_ISLESS_H__ +#define __CLC_OPENCL_RELATIONAL_ISLESS_H__ + +#include + #define FUNCTION isless #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISLESS_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/islessequal.h b/libclc/opencl/include/clc/opencl/relational/islessequal.h index b4c3aee168d5..978e6a9052c1 100644 --- a/libclc/opencl/include/clc/opencl/relational/islessequal.h +++ b/libclc/opencl/include/clc/opencl/relational/islessequal.h @@ -6,9 +6,16 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_ISLESSEQUAL_H__ +#define __CLC_OPENCL_RELATIONAL_ISLESSEQUAL_H__ + +#include + #define FUNCTION islessequal #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISLESSEQUAL_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/islessgreater.h b/libclc/opencl/include/clc/opencl/relational/islessgreater.h index f1306b3aac26..56cce7db2077 100644 --- a/libclc/opencl/include/clc/opencl/relational/islessgreater.h +++ b/libclc/opencl/include/clc/opencl/relational/islessgreater.h @@ -6,9 +6,16 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_ISLESSGREATER_H__ +#define __CLC_OPENCL_RELATIONAL_ISLESSGREATER_H__ + +#include + #define FUNCTION islessgreater #define __CLC_BODY #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISLESSGREATER_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isnan.h b/libclc/opencl/include/clc/opencl/relational/isnan.h index e712d6a5d93a..fe1e5721c1d2 100644 --- a/libclc/opencl/include/clc/opencl/relational/isnan.h +++ b/libclc/opencl/include/clc/opencl/relational/isnan.h @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_ISNAN_H__ +#define __CLC_OPENCL_RELATIONAL_ISNAN_H__ + +#include + #define _CLC_ISNAN_DECL(RET_TYPE, ARG_TYPE) \ _CLC_OVERLOAD _CLC_DECL RET_TYPE isnan(ARG_TYPE); @@ -31,3 +36,5 @@ _CLC_VECTOR_ISNAN_DECL(short, half) #undef _CLC_ISNAN_DECL #undef _CLC_VECTOR_ISNAN_DECL + +#endif // __CLC_OPENCL_RELATIONAL_ISNAN_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isnormal.h b/libclc/opencl/include/clc/opencl/relational/isnormal.h index 92646c342c07..ee74a990b5ea 100644 --- a/libclc/opencl/include/clc/opencl/relational/isnormal.h +++ b/libclc/opencl/include/clc/opencl/relational/isnormal.h @@ -6,7 +6,10 @@ // //===----------------------------------------------------------------------===// -#undef isnormal +#ifndef __CLC_OPENCL_RELATIONAL_ISNORMAL_H__ +#define __CLC_OPENCL_RELATIONAL_ISNORMAL_H__ + +#include #define FUNCTION isnormal #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISNORMAL_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isnotequal.h b/libclc/opencl/include/clc/opencl/relational/isnotequal.h index f65f3d47720a..7cf94e3ceec5 100644 --- a/libclc/opencl/include/clc/opencl/relational/isnotequal.h +++ b/libclc/opencl/include/clc/opencl/relational/isnotequal.h @@ -6,7 +6,10 @@ // //===----------------------------------------------------------------------===// -#undef isnotequal +#ifndef __CLC_OPENCL_RELATIONAL_ISNOTEQUAL_H__ +#define __CLC_OPENCL_RELATIONAL_ISNOTEQUAL_H__ + +#include #define FUNCTION isnotequal #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISNOTEQUAL_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isordered.h b/libclc/opencl/include/clc/opencl/relational/isordered.h index 92cefa6d6f36..ad9770bd627f 100644 --- a/libclc/opencl/include/clc/opencl/relational/isordered.h +++ b/libclc/opencl/include/clc/opencl/relational/isordered.h @@ -6,7 +6,10 @@ // //===----------------------------------------------------------------------===// -#undef isordered +#ifndef __CLC_OPENCL_RELATIONAL_ISORDERED_H__ +#define __CLC_OPENCL_RELATIONAL_ISORDERED_H__ + +#include #define FUNCTION isordered #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISORDERED_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/isunordered.h b/libclc/opencl/include/clc/opencl/relational/isunordered.h index af91e626abd3..01d2f5383731 100644 --- a/libclc/opencl/include/clc/opencl/relational/isunordered.h +++ b/libclc/opencl/include/clc/opencl/relational/isunordered.h @@ -6,7 +6,10 @@ // //===----------------------------------------------------------------------===// -#undef isunordered +#ifndef __CLC_OPENCL_RELATIONAL_ISUNORDERED_H__ +#define __CLC_OPENCL_RELATIONAL_ISUNORDERED_H__ + +#include #define FUNCTION isunordered #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_ISUNORDERED_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/select.h b/libclc/opencl/include/clc/opencl/relational/select.h index 52f42eff3e4d..e4cefd8bcde2 100644 --- a/libclc/opencl/include/clc/opencl/relational/select.h +++ b/libclc/opencl/include/clc/opencl/relational/select.h @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#ifndef __CLC_OPENCL_RELATIONAL_SELECT_H__ +#define __CLC_OPENCL_RELATIONAL_SELECT_H__ + +#include + #define __CLC_SELECT_FN select #define __CLC_BODY @@ -14,3 +19,5 @@ #include #undef __CLC_SELECT_FN + +#endif // __CLC_OPENCL_RELATIONAL_SELECT_H__ diff --git a/libclc/opencl/include/clc/opencl/relational/signbit.h b/libclc/opencl/include/clc/opencl/relational/signbit.h index 1e0894cfba5a..29591c0c126a 100644 --- a/libclc/opencl/include/clc/opencl/relational/signbit.h +++ b/libclc/opencl/include/clc/opencl/relational/signbit.h @@ -6,7 +6,10 @@ // //===----------------------------------------------------------------------===// -#undef signbit +#ifndef __CLC_OPENCL_RELATIONAL_SIGNBIT_H__ +#define __CLC_OPENCL_RELATIONAL_SIGNBIT_H__ + +#include #define FUNCTION signbit #define __CLC_BODY @@ -14,3 +17,5 @@ #include #undef FUNCTION + +#endif // __CLC_OPENCL_RELATIONAL_SIGNBIT_H__ diff --git a/libclc/opencl/lib/clspv/math/fma.cl b/libclc/opencl/lib/clspv/math/fma.cl index c027b4fcd8f1..83504f63772c 100644 --- a/libclc/opencl/lib/clspv/math/fma.cl +++ b/libclc/opencl/lib/clspv/math/fma.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION fma diff --git a/libclc/opencl/lib/generic/common/degrees.cl b/libclc/opencl/lib/generic/common/degrees.cl index a86003c170bf..d989fa6382ed 100644 --- a/libclc/opencl/lib/generic/common/degrees.cl +++ b/libclc/opencl/lib/generic/common/degrees.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION degrees #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/common/mix.cl b/libclc/opencl/lib/generic/common/mix.cl index cc95dcd3b615..014cc1a742f1 100644 --- a/libclc/opencl/lib/generic/common/mix.cl +++ b/libclc/opencl/lib/generic/common/mix.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __CLC_BODY #include diff --git a/libclc/opencl/lib/generic/common/radians.cl b/libclc/opencl/lib/generic/common/radians.cl index b45653be2e78..1da38920d43f 100644 --- a/libclc/opencl/lib/generic/common/radians.cl +++ b/libclc/opencl/lib/generic/common/radians.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION radians #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/common/sign.cl b/libclc/opencl/lib/generic/common/sign.cl index 0acab050af59..9afcb7375e96 100644 --- a/libclc/opencl/lib/generic/common/sign.cl +++ b/libclc/opencl/lib/generic/common/sign.cl @@ -8,7 +8,7 @@ #include #include -#include +#include #define FUNCTION sign #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/common/smoothstep.cl b/libclc/opencl/lib/generic/common/smoothstep.cl index 30ed1451ff30..fdf9a89dcbfd 100644 --- a/libclc/opencl/lib/generic/common/smoothstep.cl +++ b/libclc/opencl/lib/generic/common/smoothstep.cl @@ -8,7 +8,7 @@ #include #include -#include +#include #define SMOOTHSTEP_SINGLE_DEF(X_TYPE) \ _CLC_OVERLOAD _CLC_DEF X_TYPE smoothstep(X_TYPE edge0, X_TYPE edge1, \ diff --git a/libclc/opencl/lib/generic/common/step.cl b/libclc/opencl/lib/generic/common/step.cl index 99a7af08c926..d94677169815 100644 --- a/libclc/opencl/lib/generic/common/step.cl +++ b/libclc/opencl/lib/generic/common/step.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __CLC_BODY #include diff --git a/libclc/opencl/lib/generic/geometric/cross.cl b/libclc/opencl/lib/generic/geometric/cross.cl index bd4f86bb15d8..7553c80e6b25 100644 --- a/libclc/opencl/lib/generic/geometric/cross.cl +++ b/libclc/opencl/lib/generic/geometric/cross.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include _CLC_OVERLOAD _CLC_DEF float3 cross(float3 p0, float3 p1) { return __clc_cross(p0, p1); diff --git a/libclc/opencl/lib/generic/geometric/distance.cl b/libclc/opencl/lib/generic/geometric/distance.cl index b2194abd60e9..54c78d3609ba 100644 --- a/libclc/opencl/lib/generic/geometric/distance.cl +++ b/libclc/opencl/lib/generic/geometric/distance.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION distance #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/geometric/dot.cl b/libclc/opencl/lib/generic/geometric/dot.cl index 785767f27aac..05425aafb040 100644 --- a/libclc/opencl/lib/generic/geometric/dot.cl +++ b/libclc/opencl/lib/generic/geometric/dot.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION dot #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/geometric/fast_distance.cl b/libclc/opencl/lib/generic/geometric/fast_distance.cl index 2a19418a175b..bc30c298a2b9 100644 --- a/libclc/opencl/lib/generic/geometric/fast_distance.cl +++ b/libclc/opencl/lib/generic/geometric/fast_distance.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION fast_distance diff --git a/libclc/opencl/lib/generic/geometric/fast_length.cl b/libclc/opencl/lib/generic/geometric/fast_length.cl index 3af751af5425..407080900cce 100644 --- a/libclc/opencl/lib/generic/geometric/fast_length.cl +++ b/libclc/opencl/lib/generic/geometric/fast_length.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION fast_length diff --git a/libclc/opencl/lib/generic/geometric/fast_normalize.cl b/libclc/opencl/lib/generic/geometric/fast_normalize.cl index 938b30093b8d..195081371a5b 100644 --- a/libclc/opencl/lib/generic/geometric/fast_normalize.cl +++ b/libclc/opencl/lib/generic/geometric/fast_normalize.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION fast_normalize #define __FLOAT_ONLY diff --git a/libclc/opencl/lib/generic/geometric/length.cl b/libclc/opencl/lib/generic/geometric/length.cl index 5645ade4c917..0b0ebaa74d95 100644 --- a/libclc/opencl/lib/generic/geometric/length.cl +++ b/libclc/opencl/lib/generic/geometric/length.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION length #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/geometric/normalize.cl b/libclc/opencl/lib/generic/geometric/normalize.cl index 914f493f2cb2..eb84ffd38212 100644 --- a/libclc/opencl/lib/generic/geometric/normalize.cl +++ b/libclc/opencl/lib/generic/geometric/normalize.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION normalize #define __CLC_GEOMETRIC_RET_GENTYPE diff --git a/libclc/opencl/lib/generic/math/acos.cl b/libclc/opencl/lib/generic/math/acos.cl index 3d290225a2c2..040b2b82f6f9 100644 --- a/libclc/opencl/lib/generic/math/acos.cl +++ b/libclc/opencl/lib/generic/math/acos.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION acos #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/acosh.cl b/libclc/opencl/lib/generic/math/acosh.cl index fea40caa3e20..55b60bc99614 100644 --- a/libclc/opencl/lib/generic/math/acosh.cl +++ b/libclc/opencl/lib/generic/math/acosh.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION acosh #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/acospi.cl b/libclc/opencl/lib/generic/math/acospi.cl index 6c5ba2982ed0..2537c992e2ad 100644 --- a/libclc/opencl/lib/generic/math/acospi.cl +++ b/libclc/opencl/lib/generic/math/acospi.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION acospi #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/asin.cl b/libclc/opencl/lib/generic/math/asin.cl index b8d02cef7d3a..08dde1201392 100644 --- a/libclc/opencl/lib/generic/math/asin.cl +++ b/libclc/opencl/lib/generic/math/asin.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION asin #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/asinh.cl b/libclc/opencl/lib/generic/math/asinh.cl index f043a33fe317..189392f50b5e 100644 --- a/libclc/opencl/lib/generic/math/asinh.cl +++ b/libclc/opencl/lib/generic/math/asinh.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION asinh #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/asinpi.cl b/libclc/opencl/lib/generic/math/asinpi.cl index 688da90337ea..b9327faaccba 100644 --- a/libclc/opencl/lib/generic/math/asinpi.cl +++ b/libclc/opencl/lib/generic/math/asinpi.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION asinpi #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/atan.cl b/libclc/opencl/lib/generic/math/atan.cl index 006fc9e65d45..e2b1530f9e4c 100644 --- a/libclc/opencl/lib/generic/math/atan.cl +++ b/libclc/opencl/lib/generic/math/atan.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION atan #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/atan2.cl b/libclc/opencl/lib/generic/math/atan2.cl index ae277e7dc956..9f3d4a965e58 100644 --- a/libclc/opencl/lib/generic/math/atan2.cl +++ b/libclc/opencl/lib/generic/math/atan2.cl @@ -8,7 +8,7 @@ #include #include -#include +#include #define FUNCTION atan2 #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/atan2pi.cl b/libclc/opencl/lib/generic/math/atan2pi.cl index 06f0974d4325..9b3fea163f68 100644 --- a/libclc/opencl/lib/generic/math/atan2pi.cl +++ b/libclc/opencl/lib/generic/math/atan2pi.cl @@ -8,7 +8,7 @@ #include #include -#include +#include #define FUNCTION atan2pi #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/atanh.cl b/libclc/opencl/lib/generic/math/atanh.cl index ad4c54b81d21..5e4564d34702 100644 --- a/libclc/opencl/lib/generic/math/atanh.cl +++ b/libclc/opencl/lib/generic/math/atanh.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION atanh #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/atanpi.cl b/libclc/opencl/lib/generic/math/atanpi.cl index 3eba081d1b3f..ddeb38e64e99 100644 --- a/libclc/opencl/lib/generic/math/atanpi.cl +++ b/libclc/opencl/lib/generic/math/atanpi.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION atanpi #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/cbrt.cl b/libclc/opencl/lib/generic/math/cbrt.cl index edccc1aaa187..dccb49a47dc0 100644 --- a/libclc/opencl/lib/generic/math/cbrt.cl +++ b/libclc/opencl/lib/generic/math/cbrt.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION cbrt #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/ceil.cl b/libclc/opencl/lib/generic/math/ceil.cl index 981fa80a4443..e312281b98a2 100644 --- a/libclc/opencl/lib/generic/math/ceil.cl +++ b/libclc/opencl/lib/generic/math/ceil.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION ceil #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/copysign.cl b/libclc/opencl/lib/generic/math/copysign.cl index 9a34aa3ea94f..7aa4cb2da0ee 100644 --- a/libclc/opencl/lib/generic/math/copysign.cl +++ b/libclc/opencl/lib/generic/math/copysign.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION copysign #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/cos.cl b/libclc/opencl/lib/generic/math/cos.cl index 01f419ebc287..fb40b6c00e3c 100644 --- a/libclc/opencl/lib/generic/math/cos.cl +++ b/libclc/opencl/lib/generic/math/cos.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION cos #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/cosh.cl b/libclc/opencl/lib/generic/math/cosh.cl index c2ee2375ce5a..7106fc9f18fa 100644 --- a/libclc/opencl/lib/generic/math/cosh.cl +++ b/libclc/opencl/lib/generic/math/cosh.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION cosh #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/cospi.cl b/libclc/opencl/lib/generic/math/cospi.cl index 05de33f74373..0e242ad0d477 100644 --- a/libclc/opencl/lib/generic/math/cospi.cl +++ b/libclc/opencl/lib/generic/math/cospi.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION cospi #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/erf.cl b/libclc/opencl/lib/generic/math/erf.cl index ba60e4c47355..83c38867e046 100644 --- a/libclc/opencl/lib/generic/math/erf.cl +++ b/libclc/opencl/lib/generic/math/erf.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION erf #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/erfc.cl b/libclc/opencl/lib/generic/math/erfc.cl index 4624a0452566..1c473999bba9 100644 --- a/libclc/opencl/lib/generic/math/erfc.cl +++ b/libclc/opencl/lib/generic/math/erfc.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION erfc #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/exp.cl b/libclc/opencl/lib/generic/math/exp.cl index 8b20e26716a3..8125ce314e8e 100644 --- a/libclc/opencl/lib/generic/math/exp.cl +++ b/libclc/opencl/lib/generic/math/exp.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION exp #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/exp10.cl b/libclc/opencl/lib/generic/math/exp10.cl index d5bcf1960d7d..f8c0f94a990b 100644 --- a/libclc/opencl/lib/generic/math/exp10.cl +++ b/libclc/opencl/lib/generic/math/exp10.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION exp10 #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/exp2.cl b/libclc/opencl/lib/generic/math/exp2.cl index 130dbbd77be8..dc75c2201a46 100644 --- a/libclc/opencl/lib/generic/math/exp2.cl +++ b/libclc/opencl/lib/generic/math/exp2.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION exp2 #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/expm1.cl b/libclc/opencl/lib/generic/math/expm1.cl index 26c3eac9e678..7507786c2ad0 100644 --- a/libclc/opencl/lib/generic/math/expm1.cl +++ b/libclc/opencl/lib/generic/math/expm1.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION expm1 #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/fabs.cl b/libclc/opencl/lib/generic/math/fabs.cl index 4f9cf117a85f..0d3128f3b2a1 100644 --- a/libclc/opencl/lib/generic/math/fabs.cl +++ b/libclc/opencl/lib/generic/math/fabs.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION fabs #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/fdim.cl b/libclc/opencl/lib/generic/math/fdim.cl index 6b9a46c1bbe1..ecdcd3aef3a7 100644 --- a/libclc/opencl/lib/generic/math/fdim.cl +++ b/libclc/opencl/lib/generic/math/fdim.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION fdim #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/floor.cl b/libclc/opencl/lib/generic/math/floor.cl index 9d5f5691a705..cda8363f9136 100644 --- a/libclc/opencl/lib/generic/math/floor.cl +++ b/libclc/opencl/lib/generic/math/floor.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION floor #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/fma.cl b/libclc/opencl/lib/generic/math/fma.cl index c077357a44f0..867b97506901 100644 --- a/libclc/opencl/lib/generic/math/fma.cl +++ b/libclc/opencl/lib/generic/math/fma.cl @@ -8,7 +8,7 @@ #include #include -#include +#include #define FUNCTION fma #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/fmax.cl b/libclc/opencl/lib/generic/math/fmax.cl index 6bc22823757a..7dbd6fe0bd7f 100644 --- a/libclc/opencl/lib/generic/math/fmax.cl +++ b/libclc/opencl/lib/generic/math/fmax.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION fmax #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/fmin.cl b/libclc/opencl/lib/generic/math/fmin.cl index 2aea160b975e..ee0dca480073 100644 --- a/libclc/opencl/lib/generic/math/fmin.cl +++ b/libclc/opencl/lib/generic/math/fmin.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION fmin #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/fmod.cl b/libclc/opencl/lib/generic/math/fmod.cl index ddd071fdab95..ec1904d213d8 100644 --- a/libclc/opencl/lib/generic/math/fmod.cl +++ b/libclc/opencl/lib/generic/math/fmod.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION fmod #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/fract.cl b/libclc/opencl/lib/generic/math/fract.cl index c3e8b0afee78..9567072bf4c3 100644 --- a/libclc/opencl/lib/generic/math/fract.cl +++ b/libclc/opencl/lib/generic/math/fract.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION fract #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/frexp.cl b/libclc/opencl/lib/generic/math/frexp.cl index 940a8e37b5b5..3ac9be792ae6 100644 --- a/libclc/opencl/lib/generic/math/frexp.cl +++ b/libclc/opencl/lib/generic/math/frexp.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION frexp #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/half_cos.cl b/libclc/opencl/lib/generic/math/half_cos.cl index 5bb91b8addbc..377c4d164259 100644 --- a/libclc/opencl/lib/generic/math/half_cos.cl +++ b/libclc/opencl/lib/generic/math/half_cos.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_cos diff --git a/libclc/opencl/lib/generic/math/half_divide.cl b/libclc/opencl/lib/generic/math/half_divide.cl index 8b5d8eddd67a..730617ba67fb 100644 --- a/libclc/opencl/lib/generic/math/half_divide.cl +++ b/libclc/opencl/lib/generic/math/half_divide.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_divide diff --git a/libclc/opencl/lib/generic/math/half_exp.cl b/libclc/opencl/lib/generic/math/half_exp.cl index 97507ab2e189..05b8753b2faf 100644 --- a/libclc/opencl/lib/generic/math/half_exp.cl +++ b/libclc/opencl/lib/generic/math/half_exp.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_exp diff --git a/libclc/opencl/lib/generic/math/half_exp10.cl b/libclc/opencl/lib/generic/math/half_exp10.cl index 6925035d05f7..b4e46aaa771c 100644 --- a/libclc/opencl/lib/generic/math/half_exp10.cl +++ b/libclc/opencl/lib/generic/math/half_exp10.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_exp10 diff --git a/libclc/opencl/lib/generic/math/half_exp2.cl b/libclc/opencl/lib/generic/math/half_exp2.cl index 5bd244482ffa..51fe9f72477a 100644 --- a/libclc/opencl/lib/generic/math/half_exp2.cl +++ b/libclc/opencl/lib/generic/math/half_exp2.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_exp2 diff --git a/libclc/opencl/lib/generic/math/half_log.cl b/libclc/opencl/lib/generic/math/half_log.cl index 28c696416698..b21835204a17 100644 --- a/libclc/opencl/lib/generic/math/half_log.cl +++ b/libclc/opencl/lib/generic/math/half_log.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_log diff --git a/libclc/opencl/lib/generic/math/half_log10.cl b/libclc/opencl/lib/generic/math/half_log10.cl index fcd0a818308c..acb50f99af19 100644 --- a/libclc/opencl/lib/generic/math/half_log10.cl +++ b/libclc/opencl/lib/generic/math/half_log10.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_log10 diff --git a/libclc/opencl/lib/generic/math/half_log2.cl b/libclc/opencl/lib/generic/math/half_log2.cl index 05214e6f5a62..c97e9e093878 100644 --- a/libclc/opencl/lib/generic/math/half_log2.cl +++ b/libclc/opencl/lib/generic/math/half_log2.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_log2 diff --git a/libclc/opencl/lib/generic/math/half_powr.cl b/libclc/opencl/lib/generic/math/half_powr.cl index 3562d3e286fa..d61a18ab9132 100644 --- a/libclc/opencl/lib/generic/math/half_powr.cl +++ b/libclc/opencl/lib/generic/math/half_powr.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_powr diff --git a/libclc/opencl/lib/generic/math/half_recip.cl b/libclc/opencl/lib/generic/math/half_recip.cl index e2650662372c..1917448c4e69 100644 --- a/libclc/opencl/lib/generic/math/half_recip.cl +++ b/libclc/opencl/lib/generic/math/half_recip.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_recip diff --git a/libclc/opencl/lib/generic/math/half_rsqrt.cl b/libclc/opencl/lib/generic/math/half_rsqrt.cl index 4f287d72d641..d6ffa651fbe6 100644 --- a/libclc/opencl/lib/generic/math/half_rsqrt.cl +++ b/libclc/opencl/lib/generic/math/half_rsqrt.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_rsqrt diff --git a/libclc/opencl/lib/generic/math/half_sin.cl b/libclc/opencl/lib/generic/math/half_sin.cl index c1e569618510..baba0cca4984 100644 --- a/libclc/opencl/lib/generic/math/half_sin.cl +++ b/libclc/opencl/lib/generic/math/half_sin.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_sin diff --git a/libclc/opencl/lib/generic/math/half_sqrt.cl b/libclc/opencl/lib/generic/math/half_sqrt.cl index c327881a553b..7a59744ab11d 100644 --- a/libclc/opencl/lib/generic/math/half_sqrt.cl +++ b/libclc/opencl/lib/generic/math/half_sqrt.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_sqrt diff --git a/libclc/opencl/lib/generic/math/half_tan.cl b/libclc/opencl/lib/generic/math/half_tan.cl index 0d16b08dc223..acd4b011173d 100644 --- a/libclc/opencl/lib/generic/math/half_tan.cl +++ b/libclc/opencl/lib/generic/math/half_tan.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION half_tan diff --git a/libclc/opencl/lib/generic/math/hypot.cl b/libclc/opencl/lib/generic/math/hypot.cl index 3ac2983efc4b..4c59e4696e5a 100644 --- a/libclc/opencl/lib/generic/math/hypot.cl +++ b/libclc/opencl/lib/generic/math/hypot.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION hypot #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/ilogb.cl b/libclc/opencl/lib/generic/math/ilogb.cl index 147f82d95d1f..3829ce68fb57 100644 --- a/libclc/opencl/lib/generic/math/ilogb.cl +++ b/libclc/opencl/lib/generic/math/ilogb.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION ilogb #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/ldexp.cl b/libclc/opencl/lib/generic/math/ldexp.cl index 81c027f736e3..88c60716d782 100644 --- a/libclc/opencl/lib/generic/math/ldexp.cl +++ b/libclc/opencl/lib/generic/math/ldexp.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION ldexp #define __IMPL_FUNCTION(x) __clc_ldexp diff --git a/libclc/opencl/lib/generic/math/lgamma.cl b/libclc/opencl/lib/generic/math/lgamma.cl index 002a08153a3a..253ce31c1577 100644 --- a/libclc/opencl/lib/generic/math/lgamma.cl +++ b/libclc/opencl/lib/generic/math/lgamma.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION lgamma #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/lgamma_r.cl b/libclc/opencl/lib/generic/math/lgamma_r.cl index c44051cb4c39..8753f6c75d8b 100644 --- a/libclc/opencl/lib/generic/math/lgamma_r.cl +++ b/libclc/opencl/lib/generic/math/lgamma_r.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION lgamma_r #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/log.cl b/libclc/opencl/lib/generic/math/log.cl index 78430644a55e..dbe3e3572703 100644 --- a/libclc/opencl/lib/generic/math/log.cl +++ b/libclc/opencl/lib/generic/math/log.cl @@ -8,7 +8,7 @@ #include #include -#include +#include #define FUNCTION log #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/log10.cl b/libclc/opencl/lib/generic/math/log10.cl index 01113e7c00c9..d5137a7cab7a 100644 --- a/libclc/opencl/lib/generic/math/log10.cl +++ b/libclc/opencl/lib/generic/math/log10.cl @@ -8,7 +8,7 @@ #include #include -#include +#include #define FUNCTION log10 #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/log1p.cl b/libclc/opencl/lib/generic/math/log1p.cl index 26c4df015bc8..d389ab72908c 100644 --- a/libclc/opencl/lib/generic/math/log1p.cl +++ b/libclc/opencl/lib/generic/math/log1p.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION log1p #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/log2.cl b/libclc/opencl/lib/generic/math/log2.cl index d70f16d6f7d8..d1433bc82581 100644 --- a/libclc/opencl/lib/generic/math/log2.cl +++ b/libclc/opencl/lib/generic/math/log2.cl @@ -8,7 +8,7 @@ #include #include -#include +#include #define FUNCTION log2 #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/logb.cl b/libclc/opencl/lib/generic/math/logb.cl index 21046f2ac98c..037380a26a72 100644 --- a/libclc/opencl/lib/generic/math/logb.cl +++ b/libclc/opencl/lib/generic/math/logb.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION logb #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/mad.cl b/libclc/opencl/lib/generic/math/mad.cl index 39aa8e884cc0..3fe2dd9bed5f 100644 --- a/libclc/opencl/lib/generic/math/mad.cl +++ b/libclc/opencl/lib/generic/math/mad.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION mad #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/maxmag.cl b/libclc/opencl/lib/generic/math/maxmag.cl index cf4cfc7ded3a..4f9dbeb8d27e 100644 --- a/libclc/opencl/lib/generic/math/maxmag.cl +++ b/libclc/opencl/lib/generic/math/maxmag.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION maxmag #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/minmag.cl b/libclc/opencl/lib/generic/math/minmag.cl index e636ca7e2c40..efe72b6f545c 100644 --- a/libclc/opencl/lib/generic/math/minmag.cl +++ b/libclc/opencl/lib/generic/math/minmag.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION minmag #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/modf.cl b/libclc/opencl/lib/generic/math/modf.cl index 7ad3a2c7550d..de6524e02f73 100644 --- a/libclc/opencl/lib/generic/math/modf.cl +++ b/libclc/opencl/lib/generic/math/modf.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION modf #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/native_cos.cl b/libclc/opencl/lib/generic/math/native_cos.cl index d0df03771694..85944a03c546 100644 --- a/libclc/opencl/lib/generic/math/native_cos.cl +++ b/libclc/opencl/lib/generic/math/native_cos.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_cos diff --git a/libclc/opencl/lib/generic/math/native_divide.cl b/libclc/opencl/lib/generic/math/native_divide.cl index 6bcc5ecf4d05..8efd8cc21b5d 100644 --- a/libclc/opencl/lib/generic/math/native_divide.cl +++ b/libclc/opencl/lib/generic/math/native_divide.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_divide diff --git a/libclc/opencl/lib/generic/math/native_exp.cl b/libclc/opencl/lib/generic/math/native_exp.cl index 23b72fc82f8c..42208371e195 100644 --- a/libclc/opencl/lib/generic/math/native_exp.cl +++ b/libclc/opencl/lib/generic/math/native_exp.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_exp diff --git a/libclc/opencl/lib/generic/math/native_exp10.cl b/libclc/opencl/lib/generic/math/native_exp10.cl index 76cbc57cb3ba..aa2585ff4311 100644 --- a/libclc/opencl/lib/generic/math/native_exp10.cl +++ b/libclc/opencl/lib/generic/math/native_exp10.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_exp10 diff --git a/libclc/opencl/lib/generic/math/native_exp2.cl b/libclc/opencl/lib/generic/math/native_exp2.cl index 107db022b6e2..8955b28b367c 100644 --- a/libclc/opencl/lib/generic/math/native_exp2.cl +++ b/libclc/opencl/lib/generic/math/native_exp2.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_exp2 diff --git a/libclc/opencl/lib/generic/math/native_log.cl b/libclc/opencl/lib/generic/math/native_log.cl index 3faf70674fac..334f7c04e389 100644 --- a/libclc/opencl/lib/generic/math/native_log.cl +++ b/libclc/opencl/lib/generic/math/native_log.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_log diff --git a/libclc/opencl/lib/generic/math/native_log10.cl b/libclc/opencl/lib/generic/math/native_log10.cl index e71ac4448df2..a65938ee4c6c 100644 --- a/libclc/opencl/lib/generic/math/native_log10.cl +++ b/libclc/opencl/lib/generic/math/native_log10.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_log10 diff --git a/libclc/opencl/lib/generic/math/native_log2.cl b/libclc/opencl/lib/generic/math/native_log2.cl index c971013c4021..f10b533f91f4 100644 --- a/libclc/opencl/lib/generic/math/native_log2.cl +++ b/libclc/opencl/lib/generic/math/native_log2.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_log2 diff --git a/libclc/opencl/lib/generic/math/native_powr.cl b/libclc/opencl/lib/generic/math/native_powr.cl index ffc7e5a17437..8301443cfbcf 100644 --- a/libclc/opencl/lib/generic/math/native_powr.cl +++ b/libclc/opencl/lib/generic/math/native_powr.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_powr diff --git a/libclc/opencl/lib/generic/math/native_recip.cl b/libclc/opencl/lib/generic/math/native_recip.cl index cad339ecb4f7..145845b45514 100644 --- a/libclc/opencl/lib/generic/math/native_recip.cl +++ b/libclc/opencl/lib/generic/math/native_recip.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_recip diff --git a/libclc/opencl/lib/generic/math/native_rsqrt.cl b/libclc/opencl/lib/generic/math/native_rsqrt.cl index 69a387387f33..cbb5a754fc96 100644 --- a/libclc/opencl/lib/generic/math/native_rsqrt.cl +++ b/libclc/opencl/lib/generic/math/native_rsqrt.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_rsqrt diff --git a/libclc/opencl/lib/generic/math/native_sin.cl b/libclc/opencl/lib/generic/math/native_sin.cl index c1a3faed39a2..dfcc882614a6 100644 --- a/libclc/opencl/lib/generic/math/native_sin.cl +++ b/libclc/opencl/lib/generic/math/native_sin.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_sin diff --git a/libclc/opencl/lib/generic/math/native_sqrt.cl b/libclc/opencl/lib/generic/math/native_sqrt.cl index 5b5487cfea93..a0be41d33fa4 100644 --- a/libclc/opencl/lib/generic/math/native_sqrt.cl +++ b/libclc/opencl/lib/generic/math/native_sqrt.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_sqrt diff --git a/libclc/opencl/lib/generic/math/native_tan.cl b/libclc/opencl/lib/generic/math/native_tan.cl index 000d6c5f366a..86eee4f5913f 100644 --- a/libclc/opencl/lib/generic/math/native_tan.cl +++ b/libclc/opencl/lib/generic/math/native_tan.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION native_tan diff --git a/libclc/opencl/lib/generic/math/nextafter.cl b/libclc/opencl/lib/generic/math/nextafter.cl index 6fd52802941b..9c30e5668a56 100644 --- a/libclc/opencl/lib/generic/math/nextafter.cl +++ b/libclc/opencl/lib/generic/math/nextafter.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION nextafter #define __IMPL_FUNCTION(x) __clc_nextafter diff --git a/libclc/opencl/lib/generic/math/pow.cl b/libclc/opencl/lib/generic/math/pow.cl index b3a77f5a2a71..2fddb7e88964 100644 --- a/libclc/opencl/lib/generic/math/pow.cl +++ b/libclc/opencl/lib/generic/math/pow.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION pow #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/pown.cl b/libclc/opencl/lib/generic/math/pown.cl index 115bae3406f0..0a5ee893a45a 100644 --- a/libclc/opencl/lib/generic/math/pown.cl +++ b/libclc/opencl/lib/generic/math/pown.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION pown #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/powr.cl b/libclc/opencl/lib/generic/math/powr.cl index 87707198aae1..13af03ff1327 100644 --- a/libclc/opencl/lib/generic/math/powr.cl +++ b/libclc/opencl/lib/generic/math/powr.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION powr #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/remainder.cl b/libclc/opencl/lib/generic/math/remainder.cl index aeba5d59e89a..224a66bc9b27 100644 --- a/libclc/opencl/lib/generic/math/remainder.cl +++ b/libclc/opencl/lib/generic/math/remainder.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION remainder #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/remquo.cl b/libclc/opencl/lib/generic/math/remquo.cl index 588c5f1cb110..de102af58fe9 100644 --- a/libclc/opencl/lib/generic/math/remquo.cl +++ b/libclc/opencl/lib/generic/math/remquo.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __CLC_BODY #include diff --git a/libclc/opencl/lib/generic/math/rint.cl b/libclc/opencl/lib/generic/math/rint.cl index 84ce99c4d216..489883c97c14 100644 --- a/libclc/opencl/lib/generic/math/rint.cl +++ b/libclc/opencl/lib/generic/math/rint.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION rint #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/rootn.cl b/libclc/opencl/lib/generic/math/rootn.cl index 0e1acc95470d..e8dba17b9395 100644 --- a/libclc/opencl/lib/generic/math/rootn.cl +++ b/libclc/opencl/lib/generic/math/rootn.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION rootn #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/round.cl b/libclc/opencl/lib/generic/math/round.cl index 0ce44e72b00a..c45e681b1c22 100644 --- a/libclc/opencl/lib/generic/math/round.cl +++ b/libclc/opencl/lib/generic/math/round.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION round #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/rsqrt.cl b/libclc/opencl/lib/generic/math/rsqrt.cl index 7d6dcfaa3de7..47e4f450ed1a 100644 --- a/libclc/opencl/lib/generic/math/rsqrt.cl +++ b/libclc/opencl/lib/generic/math/rsqrt.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION rsqrt #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/sin.cl b/libclc/opencl/lib/generic/math/sin.cl index 293a2636c307..ff7db2a5b3cb 100644 --- a/libclc/opencl/lib/generic/math/sin.cl +++ b/libclc/opencl/lib/generic/math/sin.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION sin #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/sincos.cl b/libclc/opencl/lib/generic/math/sincos.cl index d87da4d7df91..c8871fd2b002 100644 --- a/libclc/opencl/lib/generic/math/sincos.cl +++ b/libclc/opencl/lib/generic/math/sincos.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION sincos #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/sinh.cl b/libclc/opencl/lib/generic/math/sinh.cl index aa559f933088..bd6ea20e7e89 100644 --- a/libclc/opencl/lib/generic/math/sinh.cl +++ b/libclc/opencl/lib/generic/math/sinh.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION sinh #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/sinpi.cl b/libclc/opencl/lib/generic/math/sinpi.cl index 8b48426a0ef8..badecd090985 100644 --- a/libclc/opencl/lib/generic/math/sinpi.cl +++ b/libclc/opencl/lib/generic/math/sinpi.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION sinpi #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/sqrt.cl b/libclc/opencl/lib/generic/math/sqrt.cl index fd031daf5bfb..3b05b2586448 100644 --- a/libclc/opencl/lib/generic/math/sqrt.cl +++ b/libclc/opencl/lib/generic/math/sqrt.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION sqrt #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/tan.cl b/libclc/opencl/lib/generic/math/tan.cl index 6df22b9c3695..95409fc5b092 100644 --- a/libclc/opencl/lib/generic/math/tan.cl +++ b/libclc/opencl/lib/generic/math/tan.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION tan #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/tanh.cl b/libclc/opencl/lib/generic/math/tanh.cl index ef7cb1ec5d86..a77878bb7966 100644 --- a/libclc/opencl/lib/generic/math/tanh.cl +++ b/libclc/opencl/lib/generic/math/tanh.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION tanh #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/tanpi.cl b/libclc/opencl/lib/generic/math/tanpi.cl index 2195830faf32..6b5805ec3cd0 100644 --- a/libclc/opencl/lib/generic/math/tanpi.cl +++ b/libclc/opencl/lib/generic/math/tanpi.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION tanpi #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/tgamma.cl b/libclc/opencl/lib/generic/math/tgamma.cl index 634ed7a50611..8f35d22426a7 100644 --- a/libclc/opencl/lib/generic/math/tgamma.cl +++ b/libclc/opencl/lib/generic/math/tgamma.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION tgamma #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/math/trunc.cl b/libclc/opencl/lib/generic/math/trunc.cl index 58f414dcc784..ea56329bc8de 100644 --- a/libclc/opencl/lib/generic/math/trunc.cl +++ b/libclc/opencl/lib/generic/math/trunc.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define FUNCTION trunc #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/relational/all.cl b/libclc/opencl/lib/generic/relational/all.cl index 43a3236bafe6..5ac4a465365a 100644 --- a/libclc/opencl/lib/generic/relational/all.cl +++ b/libclc/opencl/lib/generic/relational/all.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define ALL_ID(TYPE) _CLC_OVERLOAD _CLC_DEF int all(TYPE v) diff --git a/libclc/opencl/lib/generic/relational/any.cl b/libclc/opencl/lib/generic/relational/any.cl index ae78c623f53f..507f2b170693 100644 --- a/libclc/opencl/lib/generic/relational/any.cl +++ b/libclc/opencl/lib/generic/relational/any.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define ANY_ID(TYPE) _CLC_OVERLOAD _CLC_DEF int any(TYPE v) diff --git a/libclc/opencl/lib/generic/relational/bitselect.cl b/libclc/opencl/lib/generic/relational/bitselect.cl index fc0a15768c5f..0be7e5321caf 100644 --- a/libclc/opencl/lib/generic/relational/bitselect.cl +++ b/libclc/opencl/lib/generic/relational/bitselect.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define __CLC_BODY diff --git a/libclc/opencl/lib/generic/relational/isequal.cl b/libclc/opencl/lib/generic/relational/isequal.cl index 71109d0e0bf3..94f83f945266 100644 --- a/libclc/opencl/lib/generic/relational/isequal.cl +++ b/libclc/opencl/lib/generic/relational/isequal.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isequal diff --git a/libclc/opencl/lib/generic/relational/isfinite.cl b/libclc/opencl/lib/generic/relational/isfinite.cl index 7ee3ff2262f5..695ffea806d5 100644 --- a/libclc/opencl/lib/generic/relational/isfinite.cl +++ b/libclc/opencl/lib/generic/relational/isfinite.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isfinite diff --git a/libclc/opencl/lib/generic/relational/isgreater.cl b/libclc/opencl/lib/generic/relational/isgreater.cl index 13ecfa70fa4f..fb46ff20ac60 100644 --- a/libclc/opencl/lib/generic/relational/isgreater.cl +++ b/libclc/opencl/lib/generic/relational/isgreater.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isgreater diff --git a/libclc/opencl/lib/generic/relational/isgreaterequal.cl b/libclc/opencl/lib/generic/relational/isgreaterequal.cl index 458c4a6f6b74..b8edde2a05b7 100644 --- a/libclc/opencl/lib/generic/relational/isgreaterequal.cl +++ b/libclc/opencl/lib/generic/relational/isgreaterequal.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isgreaterequal diff --git a/libclc/opencl/lib/generic/relational/isinf.cl b/libclc/opencl/lib/generic/relational/isinf.cl index 65e987940ff5..2c15f1f82676 100644 --- a/libclc/opencl/lib/generic/relational/isinf.cl +++ b/libclc/opencl/lib/generic/relational/isinf.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isinf diff --git a/libclc/opencl/lib/generic/relational/isless.cl b/libclc/opencl/lib/generic/relational/isless.cl index e1b931aede69..0af1f53e7104 100644 --- a/libclc/opencl/lib/generic/relational/isless.cl +++ b/libclc/opencl/lib/generic/relational/isless.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isless diff --git a/libclc/opencl/lib/generic/relational/islessequal.cl b/libclc/opencl/lib/generic/relational/islessequal.cl index 91d0891e2122..9e32afc718ab 100644 --- a/libclc/opencl/lib/generic/relational/islessequal.cl +++ b/libclc/opencl/lib/generic/relational/islessequal.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION islessequal diff --git a/libclc/opencl/lib/generic/relational/islessgreater.cl b/libclc/opencl/lib/generic/relational/islessgreater.cl index dc519cc60275..c36a857dc3df 100644 --- a/libclc/opencl/lib/generic/relational/islessgreater.cl +++ b/libclc/opencl/lib/generic/relational/islessgreater.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION islessgreater diff --git a/libclc/opencl/lib/generic/relational/isnan.cl b/libclc/opencl/lib/generic/relational/isnan.cl index 6761851caffe..8b03930c5312 100644 --- a/libclc/opencl/lib/generic/relational/isnan.cl +++ b/libclc/opencl/lib/generic/relational/isnan.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isnan diff --git a/libclc/opencl/lib/generic/relational/isnormal.cl b/libclc/opencl/lib/generic/relational/isnormal.cl index 42f3e1f4f434..4ba21cc3e17f 100644 --- a/libclc/opencl/lib/generic/relational/isnormal.cl +++ b/libclc/opencl/lib/generic/relational/isnormal.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isnormal diff --git a/libclc/opencl/lib/generic/relational/isnotequal.cl b/libclc/opencl/lib/generic/relational/isnotequal.cl index f28317b8fe0f..928923b9b2a5 100644 --- a/libclc/opencl/lib/generic/relational/isnotequal.cl +++ b/libclc/opencl/lib/generic/relational/isnotequal.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isnotequal diff --git a/libclc/opencl/lib/generic/relational/isordered.cl b/libclc/opencl/lib/generic/relational/isordered.cl index 83117765d526..60ca4d67ff1e 100644 --- a/libclc/opencl/lib/generic/relational/isordered.cl +++ b/libclc/opencl/lib/generic/relational/isordered.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isordered diff --git a/libclc/opencl/lib/generic/relational/isunordered.cl b/libclc/opencl/lib/generic/relational/isunordered.cl index 26deb195a740..3392d77856ce 100644 --- a/libclc/opencl/lib/generic/relational/isunordered.cl +++ b/libclc/opencl/lib/generic/relational/isunordered.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION isunordered diff --git a/libclc/opencl/lib/generic/relational/select.cl b/libclc/opencl/lib/generic/relational/select.cl index c29109b1d3c2..47a7b8e5ad11 100644 --- a/libclc/opencl/lib/generic/relational/select.cl +++ b/libclc/opencl/lib/generic/relational/select.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #include diff --git a/libclc/opencl/lib/generic/relational/signbit.cl b/libclc/opencl/lib/generic/relational/signbit.cl index 2b58922bf870..26feb8d43fa2 100644 --- a/libclc/opencl/lib/generic/relational/signbit.cl +++ b/libclc/opencl/lib/generic/relational/signbit.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define FUNCTION signbit diff --git a/libclc/opencl/lib/spirv/math/fma.cl b/libclc/opencl/lib/spirv/math/fma.cl index c027b4fcd8f1..83504f63772c 100644 --- a/libclc/opencl/lib/spirv/math/fma.cl +++ b/libclc/opencl/lib/spirv/math/fma.cl @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include -#include +#include #define __FLOAT_ONLY #define FUNCTION fma