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

Function wait_event

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

Source from the content-addressed store, hash-verified

250 return kSuccess;
251}
252Error wait_event(StreamImpl* s, EventImpl* e) {
253 if (!e || e->value == 0) return kSuccess;
254 end_encoder(s);
255 open_cb(s)->encodeWait(e->ev, e->value);
256 return kSuccess;
257}
258
259Error run_op(StreamImpl* s, const Op& o) {
260 switch (o.kind) {

Callers 2

run_opFunction · 0.85
stream_wait_eventFunction · 0.85

Calls 2

end_encoderFunction · 0.85
open_cbFunction · 0.85

Tested by

no test coverage detected