From d7bdfbdd78e998cf61980149ef3399c68b79e984 Mon Sep 17 00:00:00 2001 From: YellowRoseCx <80486540+YellowRoseCx@users.noreply.github.com> Date: Tue, 29 Aug 2023 20:54:15 -0500 Subject: [PATCH] Update Makefile for misc amd gpu targetting (#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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1b2c6bc7f..805b2b6a7 100644 --- a/Makefile +++ b/Makefile @@ -197,7 +197,7 @@ ifdef LLAMA_HIPBLAS ROCM_PATH ?= /opt/rocm CC := $(ROCM_PATH)/llvm/bin/clang CXX := $(ROCM_PATH)/llvm/bin/clang++ - GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx1030 gfx1100 + GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx1030 gfx1100 $(shell $(ROCM_PATH)/llvm/bin/amdgpu-arch) LLAMA_CUDA_DMMV_X ?= 128 LLAMA_CUDA_MMV_Y ?= 2 LLAMA_CUDA_KQUANTS_ITER ?= 1