You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/09/22 02:03:59 UTC

[GitHub] [tvm-rfcs] tqchen commented on pull request #34: Wiring up the PrimFunc resource_handle

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org