manupa-arm commented on a change in pull request #10022:
URL: https://github.com/apache/tvm/pull/10022#discussion_r806982398



##########
File path: python/tvm/relay/backend/contrib/ethosu/tir_to_cs_translator.py
##########
@@ -105,22 +195,27 @@ def translate(tir_module, params):
     base_addresses : List[util.BaseAddress]
         base addresses to be used by the driver
     """
-
+    candidate_regions_for_scratch = [5, 2, 1]

Review comment:
       Good point! I ll add a comment, in a follow up -- if thats alright ?
   
   The comment would be something to describe the following point :
   
   We have regions from 0 to 5 and we already are using regions 0, 3, and 4 
statically for constants, input and output, respectively. Therefore, it leaves 
us with three more regions : 5, 2 and 1 to be used by memory pools. 




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to