From 77efbfce1115835d50461f9bd9a961169813ed56 Mon Sep 17 00:00:00 2001 From: nychiang Date: Wed, 31 Jan 2024 12:20:16 -0800 Subject: [PATCH] update CMakeList --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a2ad58d..94a3bf80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -228,6 +228,7 @@ if(HIOP_USE_GPU) endif() if(HIOP_USE_CUDA) + set(HIOP_USE_RAJA "ON") #CUDA/HIP requires using RAJA. enable_language(CUDA) check_language(CUDA) @@ -269,7 +270,6 @@ if(HIOP_USE_GPU) "\n* HIOP_USE_HIP" ) endif() - set(HIOP_USE_RAJA "ON") #CUDA/HIP requires using RAJA. This dependency will be removed in a future release, after somee necessary implementations. endif(HIOP_USE_GPU) if(HIOP_USE_RAJA)