remove hacks to disable math or LDG functions.

This commit is contained in:
Ben Sander committed 2016-04-28 14:14:22 -05:00
1 parent 9026146951
commit 558975c046
3 files changed
+1 -6

No files matched your search

-3
View File
@@ -21,7 +21,6 @@ THE SOFTWARE.
#define HIP_LDG_H
#if __HCC__
#if defined (USE_LDG)
#include"hip_vector_types.h"
#include"host_defines.h"
#if __hcc_workweek__ >= 16164
@@ -100,8 +99,6 @@ __device__ double4 __ldg(const double4* );
#endif // __hcc_workweek__
#endif // USE_LDG
#endif // __HCC__
#endif // HIP_LDG_H
-2
View File
@@ -109,7 +109,6 @@ extern int HIP_TRACE_API;
#define __HCC_C__
#endif
#ifdef DISABLED_MATH_FUNC // TODO - remove this flag.
__device__ float acosf(float x);
__device__ float acoshf(float x);
__device__ float asinf(float x);
@@ -442,7 +441,6 @@ __device__ float __dsqrt_rd(double x);
__device__ float __dsqrt_rn(double x);
__device__ float __dsqrt_ru(double x);
__device__ float __dsqrt_rz(double x);
#endif /* DISABLED_MATH_FUNC*/
/**
* Kernel launching
*/