Skip to content

Commit

Permalink
Fixed CMake linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Beanavil committed Sep 18, 2024
1 parent 7538329 commit b9ba1ca
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Libraries/hipFFT/multi_gpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ set(GPU_RUNTIMES "HIP" "CUDA")
set_property(CACHE GPU_RUNTIME PROPERTY STRINGS ${GPU_RUNTIMES})

if(NOT "${GPU_RUNTIME}" IN_LIST GPU_RUNTIMES)
message(FATAL_ERROR "Only the following values are accepted for GPU_RUNTIME: ${GPU_RUNTIMES}")
message(
FATAL_ERROR
"Only the following values are accepted for GPU_RUNTIME: ${GPU_RUNTIMES}"
)
endif()

if(WIN32)
message(WARNING "hipFFT multi_gpu example is not supported on Windows. Skipping!")
message(
WARNING
"hipFFT multi_gpu example is not supported on Windows. Skipping!"
)
return()
endif()

Expand Down

0 comments on commit b9ba1ca

Please sign in to comment.