1 #include <clc/clcfunc.h> 2 3 _CLC_DEF _CLC_OVERLOAD float __clc_ldexp(float, int); 4 5 #ifdef cl_khr_fp64 6 #pragma OPENCL EXTENSION cl_khr_fp64 : enable 7 _CLC_DEF _CLC_OVERLOAD double __clc_ldexp(double, int); 8 #endif 9 10 #ifdef cl_khr_fp16 11 #pragma OPENCL EXTENSION cl_khr_fp16 : enable 12 _CLC_DEF _CLC_OVERLOAD half __clc_ldexp(half, int); 13 #endif 14