Skip to content

Commit

Permalink
not related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mconcas committed Sep 18, 2024
1 parent 70131bc commit dfd1f3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions GPU/GPUbenchmark/cuda/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

if(CUDA_ENABLED)
message(STATUS "Building GPU CUDA benchmark")
set(CMAKE_CXX_LINKER ${HIP_HIPCC_EXECUTABLE})
o2_add_executable(gpu-memory-benchmark-cuda
Expand All @@ -18,5 +17,4 @@ set(CMAKE_CXX_LINKER ${HIP_HIPCC_EXECUTABLE})
PUBLIC_LINK_LIBRARIES Boost::program_options
ROOT::Tree
TARGETVARNAME targetName)
set_target_properties(${targeName} PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
endif()
set_target_properties(${targeName} PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
2 changes: 1 addition & 1 deletion GPU/GPUbenchmark/hip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# or submit itself to any jurisdiction.

message(STATUS "Building GPU HIP benchmark")
set(CMAKE_HIP_FLAGS "${CMAKE_HIP_FLAGS} -fgpu-rdc -isystem /opt/rocm/include -fPIC")
set(CMAKE_HIP_FLAGS "${CMAKE_HIP_FLAGS} -fgpu-rdc")

o2_add_hipified_executable(gpu-memory-benchmark-hip
SOURCES ../cuda/benchmark.cu
Expand Down

0 comments on commit dfd1f3a

Please sign in to comment.