From b84c26985055040989c1e832b1cc276c0e60d555 Mon Sep 17 00:00:00 2001 From: pramenku <7664080+pramenku@users.noreply.github.com> Date: Thu, 13 Apr 2023 12:49:26 +0530 Subject: [PATCH] Update hip header path it will fix below issue #error "hip_version.h has moved to /opt/rocm-xxx/include/hip and package include paths have changed. Provide include path as /opt/rocm-xxx/include when using cmake packages." --- gpu-burn/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gpu-burn/Makefile b/gpu-burn/Makefile index 1419588..1cdad3e 100644 --- a/gpu-burn/Makefile +++ b/gpu-burn/Makefile @@ -4,9 +4,8 @@ ifeq (,$(HIP_PATH)) endif -HCC_PATH ?= /opt/rocm/hcc HIP_PLATFORM = $(shell $(HIP_PATH)/bin/hipconfig --platform) -HIP_INCLUDE = -I${HIP_PATH}/include -I${HCC_PATH}/include +HIP_INCLUDE = -I${HIP_PATH}/../include BUILD_DIR ?= build HIPCC = ${HIP_PATH}/bin/hipcc