Skip to content

Commit e8482a4

Browse files
authored
Enable gfx1200 and gfx1201
This will build fail but we need the error
1 parent a7706be commit e8482a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,15 +244,15 @@ ifdef LLAMA_HIPBLAS
244244
ifeq ($(wildcard /opt/rocm),)
245245
ROCM_PATH ?= /usr
246246
ifdef LLAMA_PORTABLE
247-
GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx942 gfx1010 gfx1030 gfx1031 gfx1032 gfx1100 gfx1101 gfx1102 $(shell $(shell which amdgpu-arch))
247+
GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx942 gfx1010 gfx1030 gfx1031 gfx1032 gfx1100 gfx1101 gfx1102 gfx1200 gfx1201 $(shell $(shell which amdgpu-arch))
248248
else
249249
GPU_TARGETS ?= $(shell $(shell which amdgpu-arch))
250250
endif
251251
HCC := $(ROCM_PATH)/bin/hipcc
252252
HCXX := $(ROCM_PATH)/bin/hipcc
253253
else
254254
ROCM_PATH ?= /opt/rocm
255-
GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx942 gfx1010 gfx1030 gfx1031 gfx1032 gfx1100 gfx1101 gfx1102 $(shell $(ROCM_PATH)/llvm/bin/amdgpu-arch)
255+
GPU_TARGETS ?= gfx803 gfx900 gfx906 gfx908 gfx90a gfx942 gfx1010 gfx1030 gfx1031 gfx1032 gfx1100 gfx1101 gfx1102 gfx1200 gfx1201 $(shell $(ROCM_PATH)/llvm/bin/amdgpu-arch)
256256
HCC := $(ROCM_PATH)/llvm/bin/clang
257257
HCXX := $(ROCM_PATH)/llvm/bin/clang++
258258
endif

0 commit comments

Comments
 (0)