You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/08/15 08:23:45 UTC

[GitHub] [tvm] hugy718 opened a new pull request, #12437: [CRT runtime] Fix memset of memory pool in PageMemoryManagerCreate

hugy718 opened a new pull request, #12437:
URL: https://github.com/apache/tvm/pull/12437

   Fix the memset during creation of memory manager. It should clear the whole memory pool, otherwise the next invocation will create a manager with some attributes using old values.
   
   I found this issue when trying to call `tvm_runtime_create` the second time led to error. (my codes are similar to `apps/bundle_deploy/bundle_static.c`). Internal checking would fail due to manager attributes being only partially cleared.
   
   cc @areusch 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] areusch commented on pull request #12437: [CRT runtime] Fix memset of memory pool in PageMemoryManagerCreate

Posted by GitBox <gi...@apache.org>.
areusch commented on PR #12437:
URL: https://github.com/apache/tvm/pull/12437#issuecomment-1220006726

   thanks @hugy718 !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] kparzysz-quic merged pull request #12437: [CRT runtime] Fix memset of memory pool in PageMemoryManagerCreate

Posted by GitBox <gi...@apache.org>.
kparzysz-quic merged PR #12437:
URL: https://github.com/apache/tvm/pull/12437


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org