Calling intrinsics from global kernel

[ROCm/hip commit: 61cd2bb399]
Este cometimento está contido em:
Aditya Atluri cometeu 2016-03-29 11:17:55 -05:00
1 ascendente d0b0cda704
cometimento ffe185d731
7 ficheiros modificados
+26 -44

Não existem ficheiros que correspondam à sua pesquisa

+3 -1
Ver ficheiro
@@ -273,9 +273,11 @@ __device__ inline unsigned long long int atomicXor(unsigned long long int* addre
// integer intrinsic function __poc __clz __ffs __brev
__device__ inline unsigned int __popc( unsigned int input)
{
return hc::__popcount_u32_b32( input);
return hc::__popcount_u32_b32(input);
}
__device__ unsigned int test__popc(unsigned int input);
__device__ inline unsigned int __popcll( unsigned long long int input)
{
return hc::__popcount_u32_b64(input);