SWDEV-283266 - Workaround RTC macro in vector types

Temporarily disable __HIPCC_RTC__ in hip_vector_types.h
while the upstream clang headers are outdated on mainline.
Once upstream patch has landed in mainline, revert this
change. This is a workaround for hiprtc testing.

Change-Id: Ib2cf6023b71431bbfbe3c699076caa4f90f7170c
이 커밋은 다음에 포함됨:
Aaron En Ye Shi가 2021-05-21 15:53:59 +00:00를 커밋했습니다
1 부모 247a1e1fee
커밋 414c80644b
1 파일이 변경됨
+3 -2
+3 -2
파일 보기
@@ -44,11 +44,12 @@ THE SOFTWARE.
#endif
#if defined(__cplusplus)
#if !defined(__HIPCC_RTC__)
// FIXME: Temporarily enable C++ headers while mainline headers is outdated.
//#if !defined(__HIPCC_RTC__)
#include <array>
#include <iosfwd>
#include <type_traits>
#endif // !defined(__HIPCC_RTC__)
//#endif // !defined(__HIPCC_RTC__)
namespace hip_impl {
template<typename, typename, unsigned int> struct Scalar_accessor;