1 padre
5624c3837d
commit
d1bbf23181
1 file changed
+2
-2
@@ -58,7 +58,7 @@ __device__ static inline unsigned int __ffs(unsigned int input) {
|
||||
}
|
||||
|
||||
__device__ static inline unsigned int __ffsll(unsigned long long int input) {
|
||||
return ( input == 0 ? -1 : __builtin_ctzl(input) ) + 1;
|
||||
return ( input == 0 ? -1 : __builtin_ctzll(input) ) + 1;
|
||||
}
|
||||
|
||||
__device__ static inline unsigned int __ffs(int input) {
|
||||
@@ -66,7 +66,7 @@ __device__ static inline unsigned int __ffs(int input) {
|
||||
}
|
||||
|
||||
__device__ static inline unsigned int __ffsll(long long int input) {
|
||||
return ( input == 0 ? -1 : __builtin_ctzl(input) ) + 1;
|
||||
return ( input == 0 ? -1 : __builtin_ctzll(input) ) + 1;
|
||||
}
|
||||
|
||||
__device__ static inline unsigned int __brev(unsigned int input) {
|
||||
|
||||
Reference in new issue
Block a user