MCPcopy 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
125void* tinynn_malloc(size_t size) {
126 ensure_already_register();
127 return g_cb.tinynn_malloc_cb(size);
128}
129
130void tinynn_free(void* ptr) {
131 ensure_already_register();

Callers 15

init_signle_device_modelFunction · 0.85
init_model_weightsFunction · 0.85
vm_attachFunction · 0.85
cpu_aligned_mallocFunction · 0.85
get_stringFunction · 0.85
parse_device_modelFunction · 0.85
parse_modelFunction · 0.85
LITE_make_networkFunction · 0.85
create_combo_io_tensorFunction · 0.85

Calls 1

ensure_already_registerFunction · 0.85

Tested by

no test coverage detected