ldexp: Fix double precision function return type

Fixes ~1200 external calls from nvtpx library.

Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 315170
This commit is contained in:
Jan Vesely 2017-10-08 06:56:14 +00:00
parent e03ba02348
commit beb6591753

View File

@ -2,5 +2,5 @@ _CLC_DEF _CLC_OVERLOAD float __clc_ldexp(float, int);
#ifdef cl_khr_fp64
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
_CLC_DEF _CLC_OVERLOAD float __clc_ldexp(double, int);
_CLC_DEF _CLC_OVERLOAD double __clc_ldexp(double, int);
#endif