Skip to content

Commit

Permalink
install cudnn_frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
linzs148 committed Apr 30, 2024
1 parent b25ad47 commit a8fd7a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions external/cudnn_frontend/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ FetchContent_Declare(
)
set(CUDNN_FRONTEND_BUILD_SAMPLES OFF)
FetchContent_MakeAvailable(cudnn_frontend)

set(CUDNN_FRONTEND_INSTALL_DIR ${THIRD_PARTY_DIR}/cudnn_frontend)
install(
TARGETS cudnn_frontend
EXPORT oneflow
LIBRARY DESTINATION ${CUDNN_FRONTEND_INSTALL_DIR}/lib
ARCHIVE DESTINATION ${CUDNN_FRONTEND_INSTALL_DIR}/lib
)

0 comments on commit a8fd7a3

Please sign in to comment.