oraluben commented on issue #202:
URL: https://github.com/apache/tvm-ffi/issues/202#issuecomment-3465405733

   @tqchen yeah, FLOATS_AND_HALF is the only case we met so far. But I think 
the scenario varies a lot from different users, so I was imaging a declarative 
and extensible way of doing so.
   
   We workarounded it for our case, so you could take time and see if there's a 
better API than the torch's. I hope tvm-ffi could maintain the relation between 
`DLDataType` and ctypes, and provide composable macros to do so (yes my example 
is ugly, but I hope it demonstrates the idea).


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to