Calling intrinsics from global kernel

[ROCm/hip commit: 61cd2bb399]
Bu işleme şunda yer alıyor:
Aditya Atluri committed 2016-03-29 11:17:55 -05:00
1 ebeveyn d0b0cda704
işleme ffe185d731
7 files changed
+26 -44

No files matched your search

+3 -1
Dosyayı Görüntüle
@@ -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);