Skip to content

Commit

Permalink
change default GPU arch to match CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
SlyEcho committed Apr 25, 2023
1 parent 3a004b2 commit 608aa33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ifdef LLAMA_HIPBLAS
ROCM_PATH ?= /opt/rocm
CC := $(ROCM_PATH)/llvm/bin/clang
CXX := $(ROCM_PATH)/llvm/bin/clang++
GPU_TARGETS!= $(ROCM_PATH)/llvm/bin/offload-arch
GPU_TARGETS = gfx900 gfx906 gfx908 gfx90a gfx1030
CFLAGS += -DGGML_USE_HIPBLAS $(shell $(ROCM_PATH)/bin/hipconfig -C)
CXXFLAGS += -DGGML_USE_HIPBLAS $(shell $(ROCM_PATH)/bin/hipconfig -C)
LDFLAGS += -L/opt/rocm/lib -Wl,-rpath=$(ROCM_PATH)/lib -lhipblas -lamdhip64
Expand Down

0 comments on commit 608aa33

Please sign in to comment.