We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05356cc commit 9f387bdCopy full SHA for 9f387bd
1 file changed
HIP-OpenMP/CXX/interop/Makefile
@@ -6,7 +6,7 @@ OBJECTS = interop.o interop_hip.o
6
ROCM_GPU ?= $(strip $(shell rocminfo |grep -m 1 -E gfx[^0]{1} | sed -e 's/ *Name: *//'))
7
OPENMP_FLAGS = -fopenmp --offload-arch=${ROCM_GPU}
8
9
-CXXFLAGS = -g -O2 -fPIC ${OPENMP_FLAGS} -D __HIP_PLATFORM_AMD__
+CXXFLAGS = -g -O2 -fPIC ${OPENMP_FLAGS} -D __HIP_PLATFORM_AMD__ -I${ROCM_PATH}/include
10
HIPCC_FLAGS = -g -O2 -DNDEBUG -fPIC -I${ROCM_PATH}/include
11
12
ifeq ($(HIPCC), nvcc)
0 commit comments