Skip to content

Commit

Permalink
cuda : fix CUDA arch: OFF -> 52;61 (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler committed Jul 14, 2023
1 parent 5bef75b commit 90cb1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ endif()

if (GGML_CUDA_SOURCES)
message(STATUS "GGML CUDA sources found, configuring CUDA architecture")
set_property(TARGET ggml PROPERTY CUDA_ARCHITECTURES OFF)
set_property(TARGET ggml PROPERTY CUDA_ARCHITECTURES "52;61")
set_property(TARGET ggml PROPERTY CUDA_SELECT_NVCC_ARCH_FLAGS "Auto")
target_link_libraries(ggml PUBLIC stdc++)
endif()
Expand Down

0 comments on commit 90cb1ef

Please sign in to comment.