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

Function xkind

engine/metal/src/engine/window.cpp:201–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199std::string x16k(const std::string& k) { return metal_f16() ? k + "#h" : k; }
200
201int xkind(int t) {
202 switch (t) {
203 case ref::Q2_0: return 1;
204 case ref::Q4_K: case ref::Q5_K: return 2;
205 case ref::Q6_K: case ref::Q3_K: case ref::Q2_K: return 3;
206 default: return 0;
207 }
208}
209
210// a prepared activation: 4 planes of MAXT rows of n, then the per-16 sums
211struct Act {

Callers 3

gemvMethod · 0.70
layerMethod · 0.70
mtp_encodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected