Skip to content

Commit

Permalink
Merge pull request #2423 from mkuron/hip
Browse files Browse the repository at this point in the history
AMD GPU: require ROCm 2.0
  • Loading branch information
KaiSzuttor authored Dec 20, 2018
2 parents 8a3c24e + c0cebb7 commit e3cf300
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 804 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ if (WITH_CUDA)
target_link_libraries(${target} ${CUFFT_LIBRARY})
endfunction()
else()
find_package(HIP QUIET MODULE)
list(APPEND CMAKE_MODULE_PATH "/opt/rocm/hip/cmake")
find_package(HIP 1.5.18494 QUIET MODULE)
if(HIP_FOUND)
set(HCC_PATH "${HIP_ROOT_DIR}")
find_package(HIP MODULE)
Expand Down
Loading

0 comments on commit e3cf300

Please sign in to comment.