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

Function print_usage

smallthinker/examples/simple/simple.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <vector>
6
7static void print_usage(int, char ** argv) {
8 printf("\nexample usage:\n");
9 printf("\n %s -m model.gguf [-n n_predict] [-ngl n_gpu_layers] [prompt]\n", argv[0]);
10 printf("\n");
11}
12
13int main(int argc, char ** argv) {
14 // path to the model gguf file

Callers 1

mainFunction · 0.70

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected