Skip to content

Commit

Permalink
ENH Reduce cuspatial library size (#373)
Browse files Browse the repository at this point in the history
Decrease library size by using fatbin compression.

cuDF PR for context: rapidsai/cudf#7583

Authors:
  - Dillon Cullinan (https://github.com/dillon-cullinan)

Approvers:
  - Paul Taylor (https://github.com/trxcllnt)
  - Keith Kraus (https://github.com/kkraus14)

URL: #373
  • Loading branch information
dillon-cullinan authored Apr 8, 2021
1 parent 29d5db6 commit 52da71c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/cmake/Modules/ConfigureCUDA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ list(APPEND CUSPATIAL_CUDA_FLAGS --expt-extended-lambda --expt-relaxed-constexpr
list(APPEND CUSPATIAL_CUDA_FLAGS -Werror=cross-execution-space-call)
list(APPEND CUSPATIAL_CUDA_FLAGS -Xcompiler=-Wall,-Werror,-Wno-error=deprecated-declarations)

# Produce smallest binary size
list(APPEND CUSPATIAL_CUDA_FLAGS -Xfatbin=-compress-all)

if(DISABLE_DEPRECATION_WARNING)
list(APPEND CUSPATIAL_CXX_FLAGS -Wno-deprecated-declarations)
list(APPEND CUSPATIAL_CUDA_FLAGS -Xcompiler=-Wno-deprecated-declarations)
Expand Down

0 comments on commit 52da71c

Please sign in to comment.