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

Function type_info

engine/src/quant/types.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50} // namespace
51
52const TypeInfo* type_info(int type) noexcept {
53 for (const TypeInfo& t : kTable)
54 if ((int) t.type == type) return &t;
55 return nullptr;
56}
57
58size_t row_bytes(int type, int64_t n) noexcept {
59 const TypeInfo* t = type_info(type);

Callers 15

make_weightsFunction · 0.70
make_actFunction · 0.70
check_dotFunction · 0.70
check_actFunction · 0.70
row_bytesFunction · 0.70
gguf_dot_forFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
test_dotFunction · 0.50
test_actFunction · 0.50

Calls

no outgoing calls

Tested by 12

mainFunction · 0.40
mainFunction · 0.40
mainFunction · 0.40
test_dotFunction · 0.40
test_actFunction · 0.40
test_dequantFunction · 0.40
mainFunction · 0.40
mainFunction · 0.40
bench_typeFunction · 0.40
verify_x4_typeFunction · 0.40
mainFunction · 0.40
run_cellFunction · 0.40