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

Method pending

engine/metal/src/engine/stream.cpp:719–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717}
718
719bool ExpertStream::pending(int l, int e) const {
720 if (l != pend_l_) return false;
721 const int s = where_[(size_t) (l * NE + e)];
722 return s >= 0 && std::find(pend_wait_.begin(), pend_wait_.end(), s) != pend_wait_.end();
723}
724
725void ExpertStream::begin_layer(int l, int T, int topk, const int32_t* ids, const float* pred, const float* pred2) {
726 const double t0 = now_ms();

Callers 1

at_cutMethod · 0.45

Calls 3

findFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected