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

Function stream_synchronize

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

Source from the content-addressed store, hash-verified

485 return kSuccess;
486}
487Error stream_synchronize(Stream st) {
488 StreamImpl* s = S(st);
489 flush(s);
490 return wait_value(s->tl, s->submitted);
491}
492Error stream_query(Stream st) {
493 StreamImpl* s = S(st);
494 flush(s);

Callers 2

mainFunction · 0.85
cudaStreamSynchronizeFunction · 0.85

Calls 3

wait_valueFunction · 0.85
SFunction · 0.70
flushFunction · 0.70

Tested by 1

mainFunction · 0.68