From 0f4fe765c470b2c5fe75d2959f9a8773ef5eb044 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Mon, 1 Feb 2016 14:24:41 +0530 Subject: [PATCH] Remove redundant #define __HCC__ in hcc_detail/hip_runtime.h --- hipamd/include/hcc_detail/hip_runtime.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hipamd/include/hcc_detail/hip_runtime.h b/hipamd/include/hcc_detail/hip_runtime.h index 9d5eac2916..72ecc3515c 100644 --- a/hipamd/include/hcc_detail/hip_runtime.h +++ b/hipamd/include/hcc_detail/hip_runtime.h @@ -283,7 +283,6 @@ __device__ inline unsigned long long int atomicXor(unsigned long long int* addre return (long long int)hc::atomic_fetch_xor((uint64_t*)address,(uint64_t)val); } -#ifdef __HCC__ #include // integer intrinsic function __poc __clz __ffs __brev __device__ inline unsigned int __popc( unsigned int input) @@ -337,27 +336,21 @@ __device__ inline unsigned long long int __brevll( unsigned long long int input) } // warp vote function __all __any __ballot - __device__ inline int __all( int input) { return hc::__all( input); } - __device__ inline int __any( int input) { return hc::__any( input); } - __device__ inline unsigned long long int __ballot( int input) { return hc::__ballot( input); } -#endif - - #ifdef __HCC_ACCELERATOR__ #include