MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / usage

Function usage

smallthinker/tests/test-backend-ops.cpp:4678–4685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4676}
4677
4678static void usage(char ** argv) {
4679 printf("Usage: %s [mode] [-o <op>] [-b <backend>] [-p <params regex>]\n", argv[0]);
4680 printf(" valid modes:\n");
4681 printf(" - test (default, compare with CPU backend for correctness)\n");
4682 printf(" - grad (compare gradients from backpropagation with method of finite differences)\n");
4683 printf(" - perf (performance evaluation)\n");
4684 printf(" op names for -o are as given by ggml_op_desc() (e.g. ADD, MUL_MAT, etc)\n");
4685}
4686
4687int main(int argc, char ** argv) {
4688 test_mode mode = MODE_TEST;

Callers 1

mainFunction · 0.70

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected