Skip to content

Commit 3b89f38

Browse files
authored
Merge pull request #1743 from CEED/jeremy/offload-arch
make - use newer rocm option
2 parents 497bda6 + 5e82904 commit 3b89f38

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
@@ -170,7 +170,7 @@ ifneq ($(CUDA_ARCH),)
170170
endif
171171
HIPCCFLAGS ?= $(filter-out $(OMP_SIMD_FLAG),$(OPT)) -fPIC -munsafe-fp-atomics
172172
ifneq ($(HIP_ARCH),)
173-
HIPCCFLAGS += --amdgpu-target=$(HIP_ARCH)
173+
HIPCCFLAGS += --offload-arch=$(HIP_ARCH)
174174
endif
175175
SYCL_FLAG := $(SYCL_FLAG.$(CC_VENDOR))
176176
SYCLFLAGS ?= $(SYCL_FLAG) -fPIC -std=c++17 $(filter-out -std=c++11,$(CXXFLAGS)) $(filter-out $(OMP_SIMD_FLAG),$(OPT))

0 commit comments

Comments
 (0)