SWDEV-475394 - Fix for the return type to be in-line with CUDA

Change-Id: I7c833571d47b4e86a86e4a0095b61947d16ecab6


[ROCm/clr commit: 4fbd7abbb2]
Этот коммит содержится в:
Sourabh Betigeri
2024-07-24 12:05:20 -07:00
коммит произвёл Sourabh Betigeri
родитель 16920809d7
Коммит 5b0cc86295
+4 -4
Просмотреть файл
@@ -63,19 +63,19 @@ __device__ static inline int __clzll(long long int input) {
return __ockl_clz_u64((uint64_t)input);
}
__device__ static inline unsigned int __ffs(unsigned int input) {
__device__ static inline int __ffs(unsigned int input) {
return ( input == 0 ? -1 : __builtin_ctz(input) ) + 1;
}
__device__ static inline unsigned int __ffsll(unsigned long long int input) {
__device__ static inline int __ffsll(unsigned long long int input) {
return ( input == 0 ? -1 : __builtin_ctzll(input) ) + 1;
}
__device__ static inline unsigned int __ffs(int input) {
__device__ static inline int __ffs(int input) {
return ( input == 0 ? -1 : __builtin_ctz(input) ) + 1;
}
__device__ static inline unsigned int __ffsll(long long int input) {
__device__ static inline int __ffsll(long long int input) {
return ( input == 0 ? -1 : __builtin_ctzll(input) ) + 1;
}