Fix a RCCL initialization to avoid a deadlock (#136)

Also fixes: 

- crash while finalizing rocprof-sys-causal

[ROCm/rocprofiler-systems commit: 26bb604215]
Este cometimento está contido em:
ajanicijamd criou e GitHub cometeu 2025-03-19 14:48:04 -04:00
1 ascendente 516c3b11f8
cometimento df729548d0
7 ficheiros modificados
+77 -19

Não existem ficheiros que correspondam à sua pesquisa

@@ -855,7 +855,6 @@ sample_selection(size_t _nitr, size_t _wait_ns)
while(eligible_pc_idx.load(std::memory_order_relaxed) == 0)
{
if(get_state() >= State::Finalized) return selected_entry{};
std::this_thread::yield();
std::this_thread::sleep_for(std::chrono::nanoseconds{ _wait_ns });
}