Skip to content

Commit

Permalink
When using CUDA 12.4+ use zstd compression
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Apr 1, 2024
1 parent f064da7 commit ff9c52d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/cmake/Modules/ConfigureCUDA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ endif()

# make sure we produce smallest binary size
list(APPEND CUDF_CUDA_FLAGS -Xfatbin=-compress-all)
if(CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA" AND
CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL 12.4.0)
list(APPEND CUDF_CUDA_FLAGS -Xfatbin=-compress-algo=5)
endif()

# Option to enable line info in CUDA device compilation to allow introspection when profiling /
# memchecking
Expand Down

0 comments on commit ff9c52d

Please sign in to comment.