MCPcopy Create free account
hub / github.com/Niko1221/Strata / wait

Method wait

engine/sycl/src/program/generate.cpp:1455–1455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1453 }
1454 bool idle() const { return done_.load(std::memory_order_acquire); }
1455 void wait() const { while (!idle()) std::this_thread::yield(); }
1456private:
1457 // The second logical processor of the last physical core that has two: an SMT sibling no pool worker or host loop
1458 // is pinned to (the pool takes the first of every core but the first, the host the first core), or -1.

Callers 4

resident_stage_swapsFunction · 0.45
loopMethod · 0.45
probe_pcie_h2d_gbpsFunction · 0.45
mainFunction · 0.45

Calls 1

idleFunction · 0.50

Tested by

no test coverage detected