Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Enable PIC for RDC targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Jun 5, 2023
1 parent 7af4b33 commit 9d4a366
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/CubUtilities.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function(cub_configure_cuda_target target_name)
if (cub_cuda_RDC)
set_target_properties(${target_name} PROPERTIES
CUDA_ARCHITECTURES "${CUB_CUDA_ARCHITECTURES_RDC}"
POSITION_INDEPENDENT_CODE ON
CUDA_SEPARABLE_COMPILATION ON)
else()
set_target_properties(${target_name} PROPERTIES
Expand Down

0 comments on commit 9d4a366

Please sign in to comment.