Skip to content

Commit

Permalink
Merge pull request QMCPACK#3501 from ye-luo/fix-hip
Browse files Browse the repository at this point in the history
Fix HIP CMake
  • Loading branch information
ye-luo authored Oct 1, 2021
2 parents 4b9b609 + b7ce2c8 commit c0ed5f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Platforms/CUDA/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ if(NOT QMC_CUDA2HIP)
target_link_libraries(platform_cuda_LA PUBLIC CUDA::cublas CUDA::cusolver)
else()
hip_add_library(platform_cuda_runtime ${CUDA_RT_SRCS})
target_link_libraries(platform_cuda_LA PUBLIC platform_rocm_LA)
hip_add_library(platform_cuda_LA ${CUDA_LA_SRCS})
target_link_libraries(platform_cuda_runtime PUBLIC platform_rocm_runtime)
hip_add_library(platform_cuda_LA ${CUDA_LA_SRCS})
target_link_libraries(platform_cuda_LA PUBLIC platform_rocm_LA)
endif()

target_link_libraries(platform_cuda_LA PUBLIC platform_cuda_runtime)

0 comments on commit c0ed5f1

Please sign in to comment.