Skip to content

Commit 9f387bd

Browse files
committed
Makefile for interop: fixed missing include path
1 parent 05356cc commit 9f387bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HIP-OpenMP/CXX/interop/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ OBJECTS = interop.o interop_hip.o
66
ROCM_GPU ?= $(strip $(shell rocminfo |grep -m 1 -E gfx[^0]{1} | sed -e 's/ *Name: *//'))
77
OPENMP_FLAGS = -fopenmp --offload-arch=${ROCM_GPU}
88

9-
CXXFLAGS = -g -O2 -fPIC ${OPENMP_FLAGS} -D __HIP_PLATFORM_AMD__
9+
CXXFLAGS = -g -O2 -fPIC ${OPENMP_FLAGS} -D __HIP_PLATFORM_AMD__ -I${ROCM_PATH}/include
1010
HIPCC_FLAGS = -g -O2 -DNDEBUG -fPIC -I${ROCM_PATH}/include
1111

1212
ifeq ($(HIPCC), nvcc)

0 commit comments

Comments
 (0)