File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ ifdef GGML_CUDA
611
611
612
612
MK_CPPFLAGS += -DGGML_USE_CUDA -I$(CUDA_PATH)/include
613
613
MK_LDFLAGS += -lmusa -lmublas -lmusart -lpthread -ldl -lrt -L$(CUDA_PATH)/lib -L/usr/lib64
614
- MK_NVCCFLAGS += -x musa -mtgpu --cuda-gpu-arch=mp_22
614
+ MK_NVCCFLAGS += -x musa -mtgpu --cuda-gpu-arch=mp_21 --cuda-gpu-arch= mp_22
615
615
else
616
616
ifneq ('', '$(wildcard /opt/cuda)')
617
617
CUDA_PATH ?= /opt/cuda
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ if (GGML_CUDA)
364
364
if (GGML_MUSA )
365
365
set_source_files_properties (${GGML_SOURCES_CUDA} PROPERTIES LANGUAGE CXX )
366
366
foreach (SOURCE ${GGML_SOURCES_CUDA} )
367
- set_property (SOURCE ${SOURCE} PROPERTY COMPILE_FLAGS "-x musa -mtgpu --cuda-gpu-arch=mp_22" )
367
+ set_property (SOURCE ${SOURCE} PROPERTY COMPILE_FLAGS "-x musa -mtgpu --cuda-gpu-arch=mp_21 --cuda-gpu-arch= mp_22" )
368
368
endforeach ()
369
369
endif ()
370
370
You can’t perform that action at this time.
0 commit comments