SWDEV-573589 - Fixed performance regression due to the increase of the signal pool (#2470)

This commit is contained in:
Ioannis Assiouras
2026-01-02 12:50:56 +00:00
committed by GitHub
parent 03f714dd25
commit aecc845456
@@ -516,8 +516,7 @@ hsa_signal_t VirtualGPU::HwQueueTracker::ActiveSignal(hsa_signal_value_t init_va
auto temp_id = (current_id_ + 2) % signal_list_.size();
// If GPU is still busy with processing, then add more signals to avoid more frequent stalls
if ((Hsa::signal_load_relaxed(signal_list_[temp_id]->signal_) > 0) ||
(signal_list_[temp_id]->ts_ == ts)) {
if (Hsa::signal_load_relaxed(signal_list_[temp_id]->signal_) > 0) {
std::unique_ptr<ProfilingSignal> signal(new ProfilingSignal());
if ((signal != nullptr) && CreateSignal(signal.get())) {
// Find valid new index