oraluben commented on issue #202:
URL: https://github.com/apache/tvm-ffi/issues/202#issuecomment-3461778761
While I don't have suggestion on names (`TVM_FFI_DISPATCH_XXX` sounds good
enough), I think the API could be more configurable, and wonder if that makes
sense to you.
something like:
```
TVM_FFI_DISPATCH_DTYPE(input.dtype)
TVM_FFI_DISPATCH_DTYPE(DLBfloat16)
TVM_FFI_DISPATCH_DTYPE(DLFloat16)
TVM_FFI_DISPATCH_BODY([&] {
scalar_t input // scalar_t is template and could be resolved to
bfloat16/float16
})
```
--
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]