Fix for __popcll() device function implementation.
[ROCm/hip commit: beadaab661]
This commit is contained in:
1 parent
53b232fb2a
commit
2e0c67bbd3
1 file changed
+1
-1
@@ -42,7 +42,7 @@ __device__ static inline unsigned int __popc(unsigned int input) {
|
||||
return __builtin_popcount(input);
|
||||
}
|
||||
__device__ static inline unsigned int __popcll(unsigned long long int input) {
|
||||
return __builtin_popcountl(input);
|
||||
return __builtin_popcountll(input);
|
||||
}
|
||||
|
||||
__device__ static inline int __clz(int input) {
|
||||
|
||||
Reference in new issue
Block a user