Skip to content

Commit 10430a0

Browse files
authored
feat(hipblas): extend default hipblas GPU_TARGETS (mudler#2426)
Makefile: extend default hipblas GPU_TARGETS Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 9f5c274 commit 10430a0

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
@@ -112,7 +112,7 @@ ifeq ($(BUILD_TYPE),hipblas)
112112
# llama-ggml has no hipblas support, so override it here.
113113
export STABLE_BUILD_TYPE=
114114
export WHISPER_HIPBLAS=1
115-
GPU_TARGETS ?= gfx900,gfx90a,gfx1030,gfx1031,gfx1100
115+
GPU_TARGETS ?= gfx900,gfx906,gfx908,gfx940,gfx941,gfx942,gfx90a,gfx1030,gfx1031,gfx1100,gfx1101
116116
AMDGPU_TARGETS ?= "$(GPU_TARGETS)"
117117
CMAKE_ARGS+=-DLLAMA_HIPBLAS=ON -DAMDGPU_TARGETS="$(AMDGPU_TARGETS)" -DGPU_TARGETS="$(GPU_TARGETS)"
118118
CGO_LDFLAGS += -O3 --rtlib=compiler-rt -unwindlib=libgcc -lhipblas -lrocblas --hip-link -L${ROCM_HOME}/lib/llvm/lib

0 commit comments

Comments
 (0)