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

Function missing

engine/metal/src/engine/missing.cpp:14–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace strata::metal_engine {
13
14void missing(const char* name) {
15 static const bool log_only = [] {
16 const char* v = std::getenv("STRATA_METAL_STUBS");
17 return v != nullptr && std::string(v) == "log";
18 }();
19 if (!log_only) {
20 std::fprintf(stderr, "strata metal: %s has no Metal implementation yet\n", name);
21 std::fflush(stderr);
22 std::_Exit(86);
23 }
24 static std::mutex mu;
25 static std::set<std::string> seen;
26 std::lock_guard<std::mutex> lk(mu);
27 if (seen.insert(name).second) std::fprintf(stderr, "strata metal: STUB %s\n", name);
28}
29
30} // namespace strata::metal_engine
31

Callers 15

iq256_gu_rows_exact_oneFunction · 0.70
gdn_step_norm_groupsFunction · 0.70
handoff_publishFunction · 0.70
hc_q8_to_bf16Function · 0.70
native_quantize_q8_1_ilFunction · 0.70
qsa_block_scores_rowsFunction · 0.70
qsa_decode_attn_splitFunction · 0.70
res_patchFunction · 0.70
wait_flag_ge_stampedFunction · 0.70

Calls 2

stringFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected