Fix for __popcll() device function implementation.

[ROCm/clr commit: f6fbf8751d]
Dieser Commit ist enthalten in:
Konstantin Pyzhov committed 2019-04-19 08:53:22 -04:00
1 Ursprung d1bbf23181
Commit a525cc8f47
1 Datei geändert
+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) {