forked from microsoft/onnxruntime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STVM, NUPHAR, remove tvm from submodules list, checks pointers are no…
…t null. (microsoft#10211) * STVM, checks pointers are not null. * removes submodules tvm * add missing include(FetchContent) * add target tvm * fix stvm test * extend cgmanifest with dependencies of tvm
- Loading branch information
Showing
15 changed files
with
332 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tvm
deleted from
9ec2b9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
if (onnxruntime_USE_STVM) | ||
message(STATUS "onnxruntime_USE_STVM: Fetch tvm for STVM.") | ||
|
||
FetchContent_Declare( | ||
tvm | ||
GIT_REPOSITORY https://github.com/apache/tvm.git | ||
GIT_TAG v0.8.0 | ||
) | ||
|
||
FetchContent_GetProperties(tvm) | ||
if(NOT tvm_POPULATED) | ||
FetchContent_Populate(tvm) | ||
endif() | ||
|
||
set(tvm_INCLUDE_DIRS ${tvm_SOURCE_DIR}/include) | ||
set(onnxruntime_STVM_HOME ${tvm_SOURCE_DIR}) | ||
message(STATUS "Define onnxruntime_STVM_HOME.") | ||
message(STATUS ${onnxruntime_STVM_HOME}) | ||
|
||
endif() | ||
|
||
if (onnxruntime_USE_NUPHAR) | ||
message(STATUS "onnxruntime_USE_NUPHAR: Fetch onnxruntime-tvm for NUPHAR.") | ||
|
||
FetchContent_Declare( | ||
tvm | ||
GIT_REPOSITORY https://github.com/microsoft/onnxruntime-tvm.git | ||
GIT_TAG 9ec2b92d180dff8877e402018b97baa574031b8b | ||
) | ||
|
||
FetchContent_GetProperties(tvm) | ||
if(NOT tvm_POPULATED) | ||
FetchContent_Populate(tvm) | ||
endif() | ||
|
||
set(tvm_INCLUDE_DIRS ${tvm_SOURCE_DIR}/include) | ||
|
||
endif() |
Submodule tvm_update
deleted from
094a73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.