MCPcopy Create free account
hub / github.com/MegEngine/MegCC / create_runtime_opt

Function create_runtime_opt

runtime/src/device.c:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45RuntimeOpt create_runtime_opt(Device* device) {
46 if (!device) {
47 LOG_ERROR("not support device.\n");
48 }
49 RuntimeOpt opt;
50 opt.device = device;
51 return opt;
52}
53
54// vim: syntax=cpp.doxygen

Callers 3

SimpleVMMethod · 0.85
SimpleCombineModelMethod · 0.85
parse_modelFunction · 0.85

Calls

no outgoing calls

Tested by 2

SimpleVMMethod · 0.68
SimpleCombineModelMethod · 0.68