Remove redundant #define __HCC__ in hcc_detail/hip_runtime.h
[ROCm/hip commit: e55f3778e0]
Este commit está contenido en:
@@ -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 <hc.hpp>
|
||||
// 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 <hc_math.hpp>
|
||||
|
||||
Referencia en una nueva incidencia
Block a user