Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegCC
/ tinynn_malloc
Function
tinynn_malloc
runtime/src/utils.c:125–128 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
123
}
124
125
void* tinynn_malloc(size_t size) {
126
ensure_already_register();
127
return g_cb.tinynn_malloc_cb(size);
128
}
129
130
void tinynn_free(void* ptr) {
131
ensure_already_register();
Callers
15
init_signle_device_model
Function · 0.85
init_multi_likely_device_model
Function · 0.85
init_model_weights
Function · 0.85
vm_attach
Function · 0.85
cpu_aligned_malloc
Function · 0.85
get_string
Function · 0.85
alignment_or_alloc_weights
Function · 0.85
parse_device_model
Function · 0.85
parse_model
Function · 0.85
LITE_make_network
Function · 0.85
LITE_load_model_from_path
Function · 0.85
create_combo_io_tensor
Function · 0.85
Calls
1
ensure_already_register
Function · 0.85
Tested by
no test coverage detected