MasterJH5574 commented on PR #16413:
URL: https://github.com/apache/tvm/pull/16413#issuecomment-1909352368

   > There is a pass to allocate such workspace and append it to arguments of a 
BYOC function: 
https://github.com/apache/tvm/blob/unity/python/tvm/relax/transform/transform.py#L1305-L1317
   > 
   > If this can be used, I think that would be preferred.
   
   @masahi Thank you for the great suggestion! Yes I think this one can be a 
next step, so that the workspace size can be adjustable. For now, given I am 
not particular familiar with the BYOC flow, I may not be able to quickly enable 
the workspace to work with the AllocateWorksapce pass. Adding a fixed size 
workspace in thread entry is the fastest way to enable workspace. I agree that 
we can leverage the pass later on.


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