tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] tqchen edited a comment on issue #5124: [uTVM][Runtime] Introduce Virtual Memory Allocator to CRT
Date Tue, 24 Mar 2020 15:37:41 GMT
tqchen edited a comment on issue #5124: [uTVM][Runtime] Introduce Virtual Memory Allocator
to CRT
URL: https://github.com/apache/incubator-tvm/pull/5124#issuecomment-603312590
 
 
   The workspace memory could have a different strategy. The way it works is that we create
a different arena for workspace, along with a counter.
   
   - When a memory is allocated, we allocate memory from the arena, and add the counter
   - When a memory is de-allocated, we decrease the counter
   - When the counter goes to zero, we free all the memory.
   
   This will work because all workspace memory are temporal. It also guarantees a constant
time allocation

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message