Hi,
Is it possible to pass a C-style array to extern function? (via tvm.call_extern
and tvm.decl_tensor_intrin
built as intrinsic)
I know that we can pass buffer of tensors to extern function together with C builtin type such as int32_t
. I have a bunch of int32_t
which I’d like to pass to extern function in a form of C-style array. The int32_t
values are inferred in schedule as args for extern function.
Have anyone done this before?
Thanks and regards