Skip to content

Commit d7bdfbd

Browse files
authored
Update Makefile for misc amd gpu targetting (ggml-org#407)
adds the hipBlas gpu_target $(shell $(ROCM_PATH)/llvm/bin/amdgpu-arch) back to the gpu_target line, possibly allowing misc gpu arch's like gfx1031 or gfx1032 etc to be built
1 parent 380fa0f commit d7bdfbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ ifdef LLAMA_HIPBLAS
197197
ROCM_PATH ?= /opt/rocm
198198
CC := $(ROCM_PATH)/llvm/bin/clang
199199
CXX := $(ROCM_PATH)/llvm/bin/clang++
200-
GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx1030 gfx1100
200+
GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx1030 gfx1100 $(shell $(ROCM_PATH)/llvm/bin/amdgpu-arch)
201201
LLAMA_CUDA_DMMV_X ?= 128
202202
LLAMA_CUDA_MMV_Y ?= 2
203203
LLAMA_CUDA_KQUANTS_ITER ?= 1

0 commit comments

Comments
 (0)