Skip to content

Commit

Permalink
fixed missing fatbinData by temporarily disabling DP
Browse files Browse the repository at this point in the history
  • Loading branch information
friskluft committed Oct 3, 2024
1 parent feccfd6 commit 5e0cae3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,11 @@ if(USEGPU)
add_library(nyxus_gpu ${GPU_SOURCE_FILES})

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(CUDA_VERBOSE_BUILD ON)
target_compile_options(nyxus_gpu PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:-fPIC -rdc=true -lcudadevrt>) #--required by DP--
target_compile_options(nyxus_gpu PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:-fPIC>)
endif()
list(APPEND Nyxus_LIBRARIES nyxus_gpu)
list(APPEND Nyxus_LIBRARIES CUDA::cufft)
#--we already link versus cudart_static-- list(APPEND Nyxus_LIBRARIES CUDA::cudart)
list(APPEND Nyxus_LIBRARIES CUDA::cudart)

if(BUILD_LIB)
set_target_properties(backend PROPERTIES CUDA_ARCHITECTURES ${CUDA_ARCH_LIST} CUDA_RESOLVE_DEVICE_SYMBOLS ON)
Expand Down

0 comments on commit 5e0cae3

Please sign in to comment.