Skip to content

Commit 9ac8e95

Browse files
committed
Update compile flags
1 parent b5a1276 commit 9ac8e95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HIP/CPP/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ OBJ = $(SRC:.cpp=.o)
44
ROCM_PATH ?= /opt/rocm
55
HIPCC = ${ROCM_PATH}/bin/hipcc
66

7-
CXXFLAGS = -O3 -std=c++11
8-
CXXFLAGS += --amdgpu-target=gfx90a
7+
CXXFLAGS = -O3 -std=c++17
8+
CXXFLAGS += --offload-arch=gfx90a
99

1010
rocm: $(OBJ)
1111

0 commit comments

Comments
 (0)