From 4681eb134734fb4669ff32e01afe7c30fa1473ca Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 27 Sep 2019 13:31:58 -0400 Subject: [PATCH] P4 to Git Change 2005583 by skudchad@skudchad_test2_win_opencl on 2019/09/27 13:25:25 SWDEV-199293 - Fix build on windows. Include header in hip_internal.hpp Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#42 edit ... //depot/stg/opencl/drivers/opencl/api/hip/hip_rtc.cpp#7 edit [ROCm/hip commit: 4e640a6756a2ef438e62dd04f2dab9635a86dc21] --- projects/hip/api/hip/hip_internal.hpp | 3 +++ projects/hip/api/hip/hip_rtc.cpp | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/projects/hip/api/hip/hip_internal.hpp b/projects/hip/api/hip/hip_internal.hpp index 1b422afd3d..fcd40c0ace 100644 --- a/projects/hip/api/hip/hip_internal.hpp +++ b/projects/hip/api/hip/hip_internal.hpp @@ -30,6 +30,9 @@ THE SOFTWARE. #include #include #include +#include + + /*! IHIP IPC MEMORY Structure */ #define IHIP_IPC_MEM_HANDLE_SIZE 32 diff --git a/projects/hip/api/hip/hip_rtc.cpp b/projects/hip/api/hip/hip_rtc.cpp index 042dea0ab2..9cf3060418 100644 --- a/projects/hip/api/hip/hip_rtc.cpp +++ b/projects/hip/api/hip/hip_rtc.cpp @@ -25,13 +25,6 @@ THE SOFTWARE. #include #include "platform/program.hpp" #include -#include -#include -#include -#include -#include -#include -#include namespace hiprtc { thread_local hiprtcResult g_lastRtcError = HIPRTC_SUCCESS;