Skip to content

Commit

Permalink
Sync rebase with ort (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: mingyue <[email protected]>
  • Loading branch information
mingyueliuh and mingyue authored Nov 8, 2024
1 parent 464f22b commit 3f91aa7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ FetchContent_Declare(
URL ${DEP_URL_Boost}
URL_MD5 ${DEP_SHA1_Boost}
DOWNLOAD_EXTRACT_TIMESTAMP ON
CMAKE_ARGS -DBOOST_EXCLUDE_LIBRARIES=mp11
CMAKE_ARGS -DBOOST_EXCLUDE_LIBRARIES=mp11,headers
OVERRIDE_FIND_PACKAGE
)
set(BOOST_INCLUDE_LIBRARIES config filesystem system graph interprocess)
set(BOOST_EXCLUDE_LIBRARIES mp11)
set(BOOST_EXCLUDE_LIBRARIES mp11 headers)
set(Boost_VERBOSE TRUE)
set(Boost_DEBUG TRUE)
FetchContent_Declare(
Expand Down
9 changes: 8 additions & 1 deletion vaip/src/vitisai_compile_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1450,10 +1450,17 @@ int vitisai_ep_on_run_start(
}
} // namespace vaip_core

extern "C" VAIP_DLL_SPEC int vitisai_ep_on_run_start(
extern "C" VAIP_DLL_SPEC int vitisai_ep_on_run_start_c(
const std::vector<std::unique_ptr<vaip_core::ExecutionProvider>>& eps,
const void* state,
vaip_core::DllSafe<std::string> (*get_config_entry)(
const void* state, const char* entry_name)) {
return vaip_core::vitisai_ep_on_run_start(eps, state, get_config_entry);
}

extern "C" VAIP_DLL_SPEC int vitisai_ep_set_ep_dynamic_options_c(
const std::vector<std::unique_ptr<vaip_core::ExecutionProvider>>& eps,
const char* const* keys, const char* const* values, size_t kv_len) {
LOG(WARNING) << "not support set_ep_dynamic_options yet";
return 0;
}

0 comments on commit 3f91aa7

Please sign in to comment.