mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-29 03:30:52 +00:00
fix compile error
This commit is contained in:
parent
5ba2a1ed97
commit
064cc6c25d
1 changed files with 0 additions and 5 deletions
|
|
@ -544,11 +544,6 @@ vaip_core::OrtApiForVaip* create_org_api_hook() {
|
|||
the_global_api.graph_remove_initialized_tensor = [](Graph& graph, const std::string& tensor_name) {
|
||||
graph.RemoveInitializedTensor(tensor_name);
|
||||
};
|
||||
if (!s_library_vitisaiep.vaip_get_version) {
|
||||
return reinterpret_cast<vaip_core::OrtApiForVaip*>(&(the_global_api.host_));
|
||||
} else {
|
||||
return &the_global_api;
|
||||
}
|
||||
the_global_api.vaip_xcompiler_compile = s_library_vitisaiep.vaip_xcompiler_compile;
|
||||
the_global_api.vaip_get_default_config = s_library_vitisaiep.vaip_get_default_config;
|
||||
the_global_api.vaip_get_pattern_as_binary = s_library_vitisaiep.vaip_get_pattern_as_binary;
|
||||
|
|
|
|||
Loading…
Reference in a new issue