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/02 16:49:45 UTC

[GitHub] [tvm] junrushao1994 commented on pull request #11579: [Runtime] Add runtime.contrib.set_custom_cpu_allocator to use custom memalign() and free() functions

junrushao1994 commented on PR #11579:
URL: https://github.com/apache/tvm/pull/11579#issuecomment-1202980779

   Having an extra null pointer check is not going to be significantly affect performance, but I would be curious on the implication of user-facing API.
   
   There could be some compile-time alternatives, for example, using macros to control which `alloc`/`free` methods to use. Do you think it's viable in your usecase?
   
   Thanks a lot
   
   


-- 
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