From 5555c7eed9fba8cbaf3d1632e5472cce433982db Mon Sep 17 00:00:00 2001 From: Aaron En Ye Shi Date: Thu, 24 Jun 2021 19:58:46 +0000 Subject: [PATCH] SWDEV-284682 - Revert Workaround RTC macro in vector types Re-enable __HIPCC_RTC__ in hip_vector_types.h which require an upstream clang patch, 6823af0ca858b54e09e5be61a19d067ccd0bd6b7. Once upstream patch has landed in mainline, merge this for hiprtc functionality. Change-Id: Ife884e0c3081b307bdadc8bec7804d1d7c60153b [ROCm/clr commit: e5a1f2542420a1d4e9b945bef3480ea8cb6a4213] --- .../clr/hipamd/include/hip/amd_detail/amd_hip_vector_types.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/clr/hipamd/include/hip/amd_detail/amd_hip_vector_types.h b/projects/clr/hipamd/include/hip/amd_detail/amd_hip_vector_types.h index c857e5ce6f..d8b58f910c 100644 --- a/projects/clr/hipamd/include/hip/amd_detail/amd_hip_vector_types.h +++ b/projects/clr/hipamd/include/hip/amd_detail/amd_hip_vector_types.h @@ -44,12 +44,11 @@ THE SOFTWARE. #endif #if defined(__cplusplus) -// FIXME: Temporarily enable C++ headers while mainline headers is outdated. -//#if !defined(__HIPCC_RTC__) +#if !defined(__HIPCC_RTC__) #include #include #include -//#endif // !defined(__HIPCC_RTC__) +#endif // !defined(__HIPCC_RTC__) namespace hip_impl { template struct Scalar_accessor;