Skip to content

Commit

Permalink
Make cutlass use static ctk (rapidsai#1155)
Browse files Browse the repository at this point in the history
Cutlass links to the CTK in ways that cause problems for downstream pip wheel builds (especially in cugraph).

This might help.

Authors:
  - Sevag H (https://github.com/sevagh)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)

URL: rapidsai#1155
  • Loading branch information
sevagh authored and ahendriksen committed Jan 23, 2023
1 parent 165e940 commit fd09b1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/cmake/thirdparty/get_cutlass.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ function(find_and_configure_cutlass)
CACHE BOOL "Disable CUTLASS to build with cuBLAS library."
)

if (CUDA_STATIC_RUNTIME)
set(CUDART_LIBRARY "${CUDA_cudart_static_LIBRARY}" CACHE FILEPATH "fixing cutlass cmake code" FORCE)
endif()

rapids_cpm_find(
NvidiaCutlass ${PKG_VERSION}
GLOBAL_TARGETS nvidia::cutlass::cutlass
Expand Down

0 comments on commit fd09b1c

Please sign in to comment.