From 67029106d969d0933459b25b28d4f1b51fc46845 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Thu, 3 Jun 2021 15:10:33 -0500 Subject: [PATCH] Limit reporting of GPU_ONLY signal waits from host. Such waits must spin but are functionally correct. Change-Id: I4992852f04da788495c6f566c46a3dffaf38397c [ROCm/ROCR-Runtime commit: 3323e18f3ec586a73803a04ad7247af9f22c61b3] --- .../runtime/hsa-runtime/core/runtime/default_signal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/default_signal.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/default_signal.cpp index 46d3deb08a..281b295f24 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/default_signal.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/default_signal.cpp @@ -84,8 +84,8 @@ hsa_signal_value_t BusyWaitSignal::WaitRelaxed(hsa_signal_condition_t condition, bool condition_met = false; int64_t value; - debug_warning((!g_use_interrupt_wait || isIPC()) && - "Use of non-host signal in host signal wait API."); + debug_warning_n((!g_use_interrupt_wait || isIPC()) && + "Use of non-host signal in host signal wait API.", 10); timer::fast_clock::time_point start_time, time; start_time = timer::fast_clock::now();