Fix a RCCL initialization to avoid a deadlock (#136)
Also fixes: - crash while finalizing rocprof-sys-causal
此提交包含在:
1 父節點
b621691a53
當前提交
26bb604215
7 file changed
+77
-19
No files matched your search
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in new issue
封鎖使用者