Calling intrinsics from global kernel

[ROCm/hip commit: 61cd2bb399]
Tá an tiomantas seo le fáil i:
Aditya Atluri tiomanta 2016-03-29 11:17:55 -05:00
1 tuismitheoir d0b0cda704
tiomantas ffe185d731
7 comhad athraithe
+26 -44

Níor tháinig aon chomhaid le do chuardach

+3 -1
Féach ar an gComhad
@@ -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);