Skip to content

Commit 608aa33

Browse files
committed
change default GPU arch to match CMake
1 parent 3a004b2 commit 608aa33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ ifdef LLAMA_HIPBLAS
117117
ROCM_PATH ?= /opt/rocm
118118
CC := $(ROCM_PATH)/llvm/bin/clang
119119
CXX := $(ROCM_PATH)/llvm/bin/clang++
120-
GPU_TARGETS!= $(ROCM_PATH)/llvm/bin/offload-arch
120+
GPU_TARGETS = gfx900 gfx906 gfx908 gfx90a gfx1030
121121
CFLAGS += -DGGML_USE_HIPBLAS $(shell $(ROCM_PATH)/bin/hipconfig -C)
122122
CXXFLAGS += -DGGML_USE_HIPBLAS $(shell $(ROCM_PATH)/bin/hipconfig -C)
123123
LDFLAGS += -L/opt/rocm/lib -Wl,-rpath=$(ROCM_PATH)/lib -lhipblas -lamdhip64

0 commit comments

Comments
 (0)