mirror of
https://github.com/sgjzfzzf/triton-tvm-ffi.git
synced 2026-07-01 08:51:56 +08:00
put typedvalues initialization into cpp
Signed-off-by: Jinjie Liu <jjliu@baai.ac.cn>
This commit is contained in:
@@ -40,6 +40,13 @@ public:
|
||||
TypedValueObj);
|
||||
};
|
||||
|
||||
tvm::ffi::Optional<TypedValue> MakeTypedValue(const tvm::ffi::String &type,
|
||||
const tvm::ffi::Any &value);
|
||||
|
||||
tvm::ffi::Array<TypedValue>
|
||||
MakeTypedValues(const tvm::ffi::Array<tvm::ffi::String> &types,
|
||||
const tvm::ffi::Array<tvm::ffi::Any> &values);
|
||||
|
||||
} // namespace triton_tvm_ffi
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user