mirror of
https://github.com/sgjzfzzf/triton-tvm-ffi.git
synced 2026-07-01 08:51:56 +08:00
@@ -0,0 +1,8 @@
|
||||
#include <tvm/ffi/tvm_ffi.h>
|
||||
|
||||
void hello() { std::cout << "Hello, world!\n"; }
|
||||
|
||||
TVM_FFI_STATIC_INIT_BLOCK() {
|
||||
namespace refl = tvm::ffi::reflection;
|
||||
refl::GlobalDef().def("triton_tvm_ffi.utils.hello", hello);
|
||||
}
|
||||
Reference in New Issue
Block a user