Skip to content

Commit

Permalink
fix: TVM EP register function definition for non-load-dynamic, closes
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 committed Jul 6, 2024
1 parent bf10c18 commit 1bff72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/execution_providers/tvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::{

#[cfg(all(not(feature = "load-dynamic"), feature = "tvm"))]
extern "C" {
fn OrtSessionOptionsAppendExecutionProvider_Tvm(options: *mut ort_sys::OrtSessionOptions, use_arena: std::os::raw::c_int) -> ort_sys::OrtStatusPtr;
fn OrtSessionOptionsAppendExecutionProvider_Tvm(options: *mut ort_sys::OrtSessionOptions, opt_str: *const std::os::raw::c_char) -> ort_sys::OrtStatusPtr;
}

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
Expand Down

0 comments on commit 1bff72d

Please sign in to comment.