Skip to content

Commit

Permalink
add a description
Browse files Browse the repository at this point in the history
  • Loading branch information
nychiang committed Feb 2, 2024
1 parent 2400342 commit dc3b11b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,13 @@ if(HIOP_USE_GPU)
set(HIOP_MAGMA_DIR CACHE PATH "Path to Magma directory")
endif()

if(HIOP_USE_CUDA)
if(NOT HIOP_USE_RAJA)
set(HIOP_USE_RAJA "ON") #CUDA/HIP requires using RAJA.
message(STATUS "Enable RAJA since HIOP_USE_GPU is ON. HiOp requires using RAJA with CUDA/HIP.")
endif(NOT HIOP_USE_RAJA)


if(HIOP_USE_CUDA)
enable_language(CUDA)
check_language(CUDA)

Expand Down

0 comments on commit dc3b11b

Please sign in to comment.