Skip to content

Commit

Permalink
add include and lib
Browse files Browse the repository at this point in the history
  • Loading branch information
CaRoLZhangxy committed Jul 1, 2024
1 parent 504bd29 commit 4e30cd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/op/pt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ endif()
find_package(MPI)
if(MPI_FOUND)
include(CheckCXXSymbolExists)
set(CMAKE_REQUIRED_INCLUDES ${MPI_INCLUDE_PATH})
set(CMAKE_REQUIRED_LIBRARIES ${MPI_LIBRARIES})
check_cxx_symbol_exists(MPIX_Query_cuda_support "${MPI_INCLUDE_PATH}/mpi.h"
CUDA_AWARE)
if(NOT CUDA_AWARE)
Expand Down

0 comments on commit 4e30cd4

Please sign in to comment.