Skip to content

Commit

Permalink
cmake: don't limit thrust version
Browse files Browse the repository at this point in the history
PSC builds fine in cuda 12.2 which has thrust 2.x
  • Loading branch information
bd4 committed Aug 10, 2023
1 parent 3893778 commit 28582df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if(PSC_GPU STREQUAL "cuda")
set(CMAKE_CUDA_HOST_COMPILER "${CMAKE_CXX_COMPILER}")
enable_language(CUDA)

find_package(Thrust 1.10.0 REQUIRED)
find_package(Thrust REQUIRED)
thrust_create_target(Thrust)
set(USE_CUDA ON)
elseif(PSC_GPU STREQUAL "hip")
Expand Down

0 comments on commit 28582df

Please sign in to comment.