From 3e13c7dae73389b5b3d7417517344c19f906d134 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 [ROCm/hip commit: e55f3778e0fd98e7125e17b93f7b10d94572bbb6] --- projects/hip/include/hcc_detail/hip_runtime.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/projects/hip/include/hcc_detail/hip_runtime.h b/projects/hip/include/hcc_detail/hip_runtime.h index 9d5eac2916..72ecc3515c 100644 --- a/projects/hip/include/hcc_detail/hip_runtime.h +++ b/projects/hip/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