Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ activate
Method
activate
dnn/src/common/megcore/cpu/default_device_context.cpp:21–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
}
20
21
void DefaultDeviceContext::activate() noexcept {}
22
23
void* DefaultDeviceContext::malloc(size_t size_in_bytes) {
24
return new uint8_t[size_in_bytes];
Callers
1
megcoreActivate
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected