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

Function end_encoder

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

Source from the content-addressed store, hash-verified

163 return s->cb;
164}
165void end_encoder(StreamImpl* s) {
166 if (s->enc) { s->enc->endEncoding(); s->enc = nullptr; }
167}
168MTL::ComputeCommandEncoder* encoder(StreamImpl* s) {
169 if (!s->enc) s->enc = open_cb(s)->computeCommandEncoder(); // serial dispatch: each dispatch sees the last
170 return s->enc;

Callers 4

flushFunction · 0.85
encode_copyFunction · 0.85
encode_fillFunction · 0.85
wait_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected