FFI API tutorial #26602
Unanswered
olivier-peltre
asked this question in
General
FFI API tutorial
#26602
Replies: 1 comment 2 replies
-
PS : on a side note,
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm in the process of refactoring a few (recent) kernel bindings we had working, since the XLA
custom_call
API docs vanished a week ago in favour of the newerffi_call
API.Thanks for the tutorial and relifted API, which will probably help reduce boilerplate. Let me however a few points of improvement which would really help:
would it be possible to avoid
auto
keyword in the tutorial code samples? e.g. herewould that be within reach to include some kind of polymorphic / templated example? (there was a rather clever macro in the former custom call tutorial to dispatch on buffer dtypes)
Thanks a lot in advance, I think this might help future readers too! 🙏
(cc @dfm, hoping you have some bandwidth for this, apologies if not)
Beta Was this translation helpful? Give feedback.
All reactions