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
Tá an tiomantas seo le fáil i:
Aaron En Ye Shi
2021-05-21 15:52:07 +00:00
tuismitheoir 247a1e1fee
tiomantas 414c80644b
+3 -2
Féach ar an gComhad
@@ -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;