Skip to content

Commit e610466

Browse files
committed
Expand arch list and make it overrideable
1 parent 80e4e54 commit e610466

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ ggml-opencl.o: ggml-opencl.cpp ggml-opencl.h
213213
endif # LLAMA_CLBLAST
214214

215215
ifdef LLAMA_HIPBLAS
216-
ROCM_PATH ?= /opt/rocm
217-
CC := $(ROCM_PATH)/llvm/bin/clang
218-
CXX := $(ROCM_PATH)/llvm/bin/clang++
219-
GPU_TARGETS = gfx803 gfx900 gfx906 gfx908 gfx90a gfx1030
216+
ROCM_PATH ?= /opt/rocm
217+
CC := $(ROCM_PATH)/llvm/bin/clang
218+
CXX := $(ROCM_PATH)/llvm/bin/clang++
219+
GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx1030 gfx1100
220220
LLAMA_CUDA_DMMV_X ?= 32
221221
LLAMA_CUDA_DMMV_Y ?= 1
222222
CFLAGS += -DGGML_USE_HIPBLAS -DGGML_USE_CUBLAS $(shell $(ROCM_PATH)/bin/hipconfig -C)

0 commit comments

Comments
 (0)