Skip to content

Commit

Permalink
Fix HIP CMake.
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Oct 1, 2021
1 parent 4b9b609 commit b7ce2c8
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 b7ce2c8

Please sign in to comment.