From 3ca460d72fb7b585938d1475d8b8bf10b21ee2d7 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Thu, 9 Mar 2017 15:06:44 -0600 Subject: [PATCH] Relax signal assertion. Informs, in debug mode only, that a signal wait violated the HSA spec with regard to the consuming agents list. This list is used for optimized signal type selection. Change-Id: I5879f8f822d01af504ab913482b2532feb00be98 [ROCm/ROCR-Runtime commit: 2824786b3be81ef56e2e873aa8367e0a00b39908] --- .../runtime/hsa-runtime/core/runtime/default_signal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 097d204356..44348d03c0 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 @@ -88,7 +88,7 @@ hsa_signal_value_t DefaultSignal::WaitRelaxed(hsa_signal_condition_t condition, bool condition_met = false; int64_t value; - assert(!g_use_interrupt_wait && "Use of non-host signal in host signal wait API."); + debug_warning(!g_use_interrupt_wait && "Use of non-host signal in host signal wait API."); timer::fast_clock::time_point start_time, time; start_time = timer::fast_clock::now();