#include "config.h"
#endif
+#ifndef GMX_NATIVE_WINDOWS
/* Ugly hack because the openmp implementation below hacks into the SIMD
* settings to decide when to use _mm_pause(). This should eventually be
* changed into proper detection of the intrinsics uses, not SIMD.
(defined GMX_SIMD_X86_AVX2_256)
# include <xmmintrin.h>
#endif
+#else
+#include <windows.h>
+#endif
#include "types/commrec.h"
#include "mdrun.h"
*/
static gmx_inline void gmx_pause()
{
+#ifndef GMX_NATIVE_WINDOWS
/* Ugly hack because the openmp implementation below hacks into the SIMD
* settings to decide when to use _mm_pause(). This should eventually be
* changed into proper detection of the intrinsics uses, not SIMD.
#else
/* No wait for unknown architecture */
#endif
+#else
+ YieldProcessor();
+#endif
}
/*! \} */