Fix build failure on windows due to vector type
[ROCm/hip commit: 43c144fe68]
Ta zmiana jest zawarta w:
%! (template.HTML=
Yaxun Sam Liu)złożyło 2019-02-05 12:22:32 -05:00
1 rodzic
08a20ec9fd
złożenie
f724c69c4e
Plik 1 zmieniony
+1
-1
@@ -34,7 +34,7 @@ THE SOFTWARE.
|
||||
|
||||
#include "hip/hcc_detail/host_defines.h"
|
||||
|
||||
#if !defined(_MSC_VER)
|
||||
#if !defined(_MSC_VER) || __HIP_DEVICE_COMPILE__
|
||||
#if defined(__clang__)
|
||||
#define __NATIVE_VECTOR__(n, ...) __attribute__((ext_vector_type(n)))
|
||||
#elif defined(__GNUC__) // N.B.: GCC does not support .xyzw syntax.
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika