Fix for windows dtest build failure (#1742)
Этот коммит содержится в:
1 родитель
a0a50ac601
Коммит
911d406bf1
1 file changed
+2
-2
@@ -34,12 +34,12 @@ THE SOFTWARE.
|
||||
|
||||
#include "hip/hcc_detail/host_defines.h"
|
||||
|
||||
#if !defined(_MSC_VER)
|
||||
#if !defined(_MSC_VER)|| __clang__
|
||||
#if __has_attribute(ext_vector_type)
|
||||
#define __NATIVE_VECTOR__(n, ...) __attribute__((ext_vector_type(n)))
|
||||
#else
|
||||
#define __NATIVE_VECTOR__(n, ...) [n]
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#include <array>
|
||||
|
||||
Reference in new issue
Block a user