Skip to content

Commit

Permalink
COMP: Display deprecation CUDA messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit authored and SimonRit committed Apr 21, 2024
1 parent 0f7f84b commit 902db67
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions itk-module-init.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ if(RTK_USE_CUDA)
find_package(CUDAToolkit REQUIRED 8.0)
endif()

set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -Wno-deprecated-gpu-targets")
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -Wno-deprecated-declarations")
set(RTK_CUDA_PROJECTIONS_SLAB_SIZE "16" CACHE STRING "Number of projections processed simultaneously in CUDA forward and back projections")
elseif(RTK_CUDA_VERSION)
message(FATAL_ERROR "RTK_CUDA_VERSION is set but the CUDA toolkit has not been found.")
Expand Down

0 comments on commit 902db67

Please sign in to comment.