Fix hipcc and hip_vector_types.h for windows

Disable linux specific compilation and linking options for windows.

In hip_vector_types.h, hip-clang needs HIP's own implementation for vector types even
on windows. MSVC specific implementation is for building runtime itself, which is compiled
by MSVC.


[ROCm/clr commit: d0fc2d0f99]
Este commit está contenido en:
Yaxun Sam Liu
2019-02-07 11:07:50 -05:00
padre 37df9c83c1
commit 6d596cf51b
Se han modificado 2 ficheros con 16 adiciones y 8 borrados
@@ -34,7 +34,7 @@ THE SOFTWARE.
#include "hip/hcc_detail/host_defines.h"
#if !defined(_MSC_VER) || __HIP_DEVICE_COMPILE__
#if !defined(_MSC_VER) || __clang__
#if defined(__clang__)
#define __NATIVE_VECTOR__(n, ...) __attribute__((ext_vector_type(n)))
#elif defined(__GNUC__) // N.B.: GCC does not support .xyzw syntax.