-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b8d6fc
commit 5559a7e
Showing
2 changed files
with
21 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/cmake/public/cuda.cmake b/cmake/public/cuda.cmake | ||
index afc1bc12ab..497dce5313 100644 | ||
--- a/cmake/public/cuda.cmake | ||
+++ b/cmake/public/cuda.cmake | ||
@@ -170,7 +170,7 @@ else() | ||
endif() | ||
|
||
# nvToolsExt | ||
-find_path(nvtx3_dir NAMES nvtx3 PATHS "${PROJECT_SOURCE_DIR}/third_party/NVTX/c/include" NO_DEFAULT_PATH) | ||
+find_path(nvtx3_dir NAMES nvtx3) | ||
find_package_handle_standard_args(nvtx3 DEFAULT_MSG nvtx3_dir) | ||
if(nvtx3_FOUND) | ||
add_library(torch::nvtx3 INTERFACE IMPORTED) |