tqchen commented on pull request #34:
URL: https://github.com/apache/tvm-rfcs/pull/34#issuecomment-924521523


   Will comment more later. One thing I want to note is that resource handle is 
a special thing for PackedCFunc signature and do not generally exists in a 
normal packed func(that is backed by say a GPU driver closure). 
   
   As a result, we might want to think a bit more carefully on the calling 
convention here. My recommendation would still be try to hide this variables 
from the PrimFunc interface and leverage intrinsics(such as get resource 
handle) to obtain the handle from the environment. 
   
   We might be able to introduce call packed c func with handle intrinsic that 
passes the handle around packed c func


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