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

Function wait_value

engine/metal/src/gpu/runtime.cpp:181–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 s->pending = 0;
180}
181Error wait_value(MTL::SharedEvent* ev, uint64_t v) {
182 while (ev->signaledValue() < v) std::this_thread::yield();
183 ++rt().stats.host_syncs;
184 return kSuccess;
185}
186
187void check_purged(const Alloc* a, const char* what) {
188 if (a && a->purged) {

Callers 8

encode_copyFunction · 0.85
device_synchronizeFunction · 0.85
memset_deviceFunction · 0.85
memcpy_syncFunction · 0.85
stream_destroyFunction · 0.85
stream_synchronizeFunction · 0.85
launch_host_funcFunction · 0.85
event_synchronizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected