Skip to content

Override nni_alloc and nni_free #1830

Answered by gdamore
sylvain-iRacing asked this question in Q&A
Discussion options

You must be logged in to vote

Not directly. There is a platform layer, and on POSIX they sit on top of malloc and free, so if you have weak bindings along with a shared library shim, you might be able to override that.

I'd be willing to consider a pluggable allocator.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gdamore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants