From fea0b8c5fbd866af3866e2bf3569eef0d1f9d973 Mon Sep 17 00:00:00 2001 From: Arturo Vargas Date: Thu, 19 Sep 2024 11:11:23 -0700 Subject: [PATCH] add guard --- benchmark/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmark/CMakeLists.txt b/benchmark/CMakeLists.txt index 8ddeba454d..15d919c566 100644 --- a/benchmark/CMakeLists.txt +++ b/benchmark/CMakeLists.txt @@ -11,9 +11,11 @@ if (RAJA_ENABLE_CUDA) SOURCES host-device-lambda-benchmark.cpp) endif() +if (RAJA_ENABLE_DESUL) raja_add_benchmark( NAME benchmark-atomic SOURCES benchmark-atomic.cpp) +endif() raja_add_benchmark( NAME ltimes