From 088049fb22d5fd6359b0aa009bcb26749fb83013 Mon Sep 17 00:00:00 2001 From: Pranav Sivaraman <14294205+pranav-sivaraman@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:24:19 -0800 Subject: [PATCH] chore: remove uneeded CMAKE options --- src/raja/model.cmake | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/raja/model.cmake b/src/raja/model.cmake index a5ad7e1..edffa61 100644 --- a/src/raja/model.cmake +++ b/src/raja/model.cmake @@ -3,10 +3,6 @@ register_flag_optional(RAJA_BACK_END "Specify whether we target CPU/CUDA/HIP/SYC register_flag_optional(MANAGED_ALLOC "Use UVM (cudaMallocManaged) instead of the device-only allocation (cudaMalloc)" "OFF") -register_flag_optional(SYNC_ALL_KERNELS - "Fully synchronise all kernels after launch, this also enables synchronous error checking with line and file name" - "OFF") - macro(setup) if (POLICY CMP0104) cmake_policy(SET CMP0104 OLD) @@ -28,6 +24,7 @@ macro(setup) set_source_files_properties(${IMPL_SOURCES} PROPERTIES LANGUAGE CUDA) register_definitions(RAJA_TARGET_GPU) elseif (${RAJA_BACK_END} STREQUAL "HIP") + # Set CMAKE_CXX_COMPILER to hipcc find_package(hip REQUIRED) register_definitions(RAJA_TARGET_GPU) elseif (${RAJA_BACK_END} STREQUAL "SYCL") @@ -38,11 +35,6 @@ macro(setup) endif () if (MANAGED_ALLOC) - register_definitions(CLOVER_MANAGED_ALLOC) + register_definitions(BUDE_MANAGED_ALLOC) endif () - - if (SYNC_ALL_KERNELS) - register_definitions(CLOVER_SYNC_ALL_KERNELS) - endif () - endmacro()