Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegCC
/ getvm
Method
getvm
runtime/test/common/common.cpp:186–186 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
184
vm_attach(cb_model);
185
}
186
VM* getvm() { return (VM*)(cb_model->vm); }
187
~SimpleVM() {
188
auto vm = getvm();
189
delete vm->model->device_models[0];
Callers
1
create_vm
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected