SWDEV-271010 - Increase active wait time

Increase wait time for active wait to 50us

Change-Id: I8f269ab25ecc6775e655b9eb36fafc5f41a59c95


[ROCm/clr commit: d034c48405]
Bu işleme şunda yer alıyor:
Saleel Kudchadker
2021-03-11 12:52:05 -08:00
ebeveyn 9aaec719a3
işleme f2a7ea3927
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
+2 -2
Dosyayı Görüntüle
@@ -388,8 +388,8 @@ hsa_signal_t* VirtualGPU::HwQueueTracker::WaitingSignal(HwQueueEngine engine) {
// Early signal status check
if (hsa_signal_load_relaxed(prof_signal->signal_) > 0) {
const Settings& settings = gpu_.dev().settings();
// Actively wait on CPU for 30 us to avoid extra overheads of signal tracking on GPU
if (!WaitForSignal<kTimeout30us>(prof_signal->signal_)) {
// Actively wait on CPU for 50 us to avoid extra overheads of signal tracking on GPU
if (!WaitForSignal<kTimeout50us>(prof_signal->signal_)) {
if (settings.cpu_wait_for_signal_) {
// Wait on CPU for completion if requested
CpuWaitForSignal(prof_signal);
+1
Dosyayı Görüntüle
@@ -53,6 +53,7 @@ constexpr static hsa_signal_value_t kInitSignalValueOne = 1;
// Timeouts for HSA signal wait
constexpr static uint64_t kTimeout30us = 30000;
constexpr static uint64_t kTimeout50us = 50000;
constexpr static uint64_t kUnlimitedWait = std::numeric_limits<uint64_t>::max();
template <uint64_t wait_time = 0>