From bf8ab493c4e2cef31c8a88da263da236395694d5 Mon Sep 17 00:00:00 2001 From: Yiannis Papadopoulos Date: Thu, 20 Mar 2025 15:21:46 -0400 Subject: [PATCH] rocr: Remove unused lambda --- runtime/hsa-runtime/core/runtime/runtime.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/runtime/hsa-runtime/core/runtime/runtime.cpp b/runtime/hsa-runtime/core/runtime/runtime.cpp index 9a9ca83c83..53ea8963a3 100644 --- a/runtime/hsa-runtime/core/runtime/runtime.cpp +++ b/runtime/hsa-runtime/core/runtime/runtime.cpp @@ -1560,17 +1560,6 @@ void Runtime::AsyncEventsLoop(void* _eventsInfo) { return keep; }; - auto checkCondition = [](hsa_signal_condition_t cond, hsa_signal_value_t value, - hsa_signal_value_t compare) { - switch (cond) { - case HSA_SIGNAL_CONDITION_EQ: return value == compare; - case HSA_SIGNAL_CONDITION_NE: return value != compare; - case HSA_SIGNAL_CONDITION_GTE: return value >= compare; - case HSA_SIGNAL_CONDITION_LT: return value < compare; - default: return false; - } - }; - // Prepares a list of events for a wait inside KFD auto PrepareInterrupt = [&](size_t idx, bool init_age) { HsaEvent* hsa_event = hsa_signals[idx]->EopEvent();