tqchen commented on pull request #7717:
URL: https://github.com/apache/tvm/pull/7717#issuecomment-817314302


   To followup on the deffered execution case:
   
   Because memcpy happens here: 
https://github.com/masahi/tvm/blob/1a3dbee99c9a2c362373707678d5657e59ea6827/src/runtime/vulkan/vulkan.cc#L1150
   
   Imagine there are two consecutive launch of the same kernel A(uses UBO) that 
are deferred. Then the memcpy of the second kernel launch would override the 
value of the first launch(both of which hasn't yet been launched).
   
   


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


Reply via email to