MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / engineArgAttach

Function engineArgAttach

mllm/mllm.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace mllm {
17
18EngineConfigArg engineArgAttach() {
19 auto& cpu_op_thread =
20 Argparse::add<int32_t>("-engine_cpu_op_thread|--engine_cpu_op_thread").help("config cpu op thread number");
21 auto& dispatch_thread = Argparse::add<int32_t>("-engine_dispatcher_thread|--engine_dispatcher_thread")
22 .help("config dispatcher pool thread number");
23 return {
24 .cpu_op_thread = cpu_op_thread,
25 .dispatch_thread = dispatch_thread,
26 };
27}
28
29void configEngineWithArgs(const EngineConfigArg& args) {
30 if (args.cpu_op_thread.isSet()) {

Callers 1

Calls 1

helpMethod · 0.80

Tested by

no test coverage detected