SWDEV-504383 - Cleaned up kForcedTimeout10us and removed IsHwEventReadyForcedWait

Also removed active_wait_timeout

Change-Id: I7a429f003c09a4df267b5c0983050704260094c6
이 커밋은 다음에 포함됨:
Jimbo Xie 작성하고 Saleel Kudchadker가 2025-01-31 14:40:18 -05:00를 커밋함
1 부모 32daa8f384
커밋 4872b420c9
7 파일이 변경됨
+14 -87

검색과 일치하는 파일 없음

-12
파일 보기
@@ -2914,18 +2914,6 @@ bool Device::SetClockMode(const cl_set_device_clock_mode_input_amd setClockModeI
return result;
}
// ================================================================================================
bool Device::IsHwEventReadyForcedWait(const amd::Event& event) const {
void* hw_event =
(event.NotifyEvent() != nullptr) ? event.NotifyEvent()->HwEvent() : event.HwEvent();
if (hw_event == nullptr) {
ClPrint(amd::LOG_INFO, amd::LOG_SIG, "No HW event");
return false;
}
static constexpr bool Timeout = true;
return WaitForSignal<Timeout>(reinterpret_cast<ProfilingSignal*>(hw_event)->signal_, false, true);
}
// ================================================================================================
bool Device::IsHwEventReady(const amd::Event& event, bool wait, uint32_t hip_event_flags) const {
void* hw_event =