MCPcopy Create free account
hub / github.com/andrewkchan/deepseek.cpp / main

Function main

src/test.cpp:312–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312int main(int argc, char* argv[]) {
313 if (argc == 2 && std::string(argv[1]) == "-b") {
314 std::cout << "Running memory benchmark" << std::endl;
315 mem_bench();
316 } else if (argc == 2 && std::string(argv[1]) == "-b2") {
317 std::cout << "Running memory benchmark 2" << std::endl;
318 mem_bench2();
319 } else {
320 test_attn();
321 test_matmul();
322 }
323 std::cout << "All tests passed" << std::endl;
324 return 0;
325}

Callers

nothing calls this directly

Calls 4

mem_benchFunction · 0.85
mem_bench2Function · 0.85
test_attnFunction · 0.85
test_matmulFunction · 0.85

Tested by

no test coverage detected