Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MNN
/ MNNMemoryFreeAlign
Function
MNNMemoryFreeAlign
source/core/MNNMemoryUtils.cpp:53–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
}
52
53
extern
"C"
void MNNMemoryFreeAlign(void *aligned) {
54
#ifdef MNN_DEBUG_MEMORY
55
free(aligned);
56
#else
57
if (aligned) {
58
void *origin = ((void **)aligned)[-1];
59
free(origin);
60
}
61
#endif
62
}
Callers
12
~FileLoader
Method · 0.85
read
Method · 0.85
onRelease
Method · 0.85
ReadQuanData_c
Function · 0.85
ReadSparseQuanData_c
Function · 0.85
~Tensor
Method · 0.85
~AutoStorage
Method · 0.85
set
Method · 0.85
reset
Method · 0.85
release
Method · 0.85
run
Method · 0.85
releaseMemoryForHostTensor
Method · 0.85
Calls
no outgoing calls
Tested by
1
run
Method · 0.68