Map clock64() to __builtin_readcyclecounter() (#1473)
Fixes SWDEV-203215.
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Maneesh Gupta
ebeveyn
9816122a62
işleme
ff1b23b558
@@ -690,12 +690,7 @@ extern "C" uint64_t __clock_u64() __HC__;
|
||||
__device__
|
||||
inline __attribute((always_inline))
|
||||
long long int __clock64() {
|
||||
// ToDo: Unify HCC and HIP implementation.
|
||||
#if __HCC__
|
||||
return (long long int) __clock_u64();
|
||||
#else
|
||||
return (long long int) __builtin_amdgcn_s_memrealtime();
|
||||
#endif
|
||||
return (long long int) __builtin_readcyclecounter();
|
||||
}
|
||||
|
||||
__device__
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle