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

Function stream_query

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

Source from the content-addressed store, hash-verified

490 return wait_value(s->tl, s->submitted);
491}
492Error stream_query(Stream st) {
493 StreamImpl* s = S(st);
494 flush(s);
495 return s->tl->signaledValue() >= s->submitted ? kSuccess : kNotReady;
496}
497Error stream_wait_event(Stream st, Event e, unsigned) {
498 StreamImpl* s = S(st);
499 if (s->rec) {

Callers 1

cudaStreamQueryFunction · 0.85

Calls 2

SFunction · 0.70
flushFunction · 0.70

Tested by

no test coverage detected