Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
RuntimeOpt 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
SimpleVM
Method · 0.85
SimpleCombineModel
Method · 0.85
parse_model
Function · 0.85
Calls
no outgoing calls
Tested by
2
SimpleVM
Method · 0.68
SimpleCombineModel
Method · 0.68