File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
transformer_engine/common/nvshmem_api Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,13 @@ set(NVSHMEMAPI_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" PARENT_SCOPE)
1616target_link_directories (nvshmemapi PUBLIC ${NVSHMEM_HOME} /lib )
1717target_link_libraries (nvshmemapi PUBLIC -static-libstdc++ nvshmem_device nvshmem_host CUDA::nvml CUDA::cublas CUDA::cuda_driver )
1818target_include_directories (nvshmemapi PRIVATE
19- ${NVSHMEM_HOME} /include/ )
19+ ${NVSHMEM_HOME} /include/
20+ ${CMAKE_CURRENT_SOURCE_DIR} /../include )
2021target_include_directories (nvshmemapi PUBLIC
2122 ${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES}
2223 "${CMAKE_CURRENT_SOURCE_DIR} " )
2324
2425set_target_properties (nvshmemapi PROPERTIES
2526 CUDA_STANDARD 17
2627 POSITION_INDEPENDENT_CODE ON
27- CUDA_SEPARABLE_COMPILATION ON )
28+ CUDA_SEPARABLE_COMPILATION ON )
Original file line number Diff line number Diff line change 1515#include < sstream>
1616#include < string>
1717
18+ #include " ../util/cuda_driver.h"
1819#include " ../util/logging.h"
1920#include " nvshmem_waitkernel.h"
2021
You can’t perform that action at this time.
0 commit comments