From a789b77b75717c2b3524b0886a4ee67987f0e1e3 Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Tue, 28 Jan 2014 16:40:19 +0800 Subject: [PATCH] Used SwitchToThread for YIELDING on AMD piledriver with Windows. --- common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.h b/common.h index 4e3230d7e..57294eb02 100644 --- a/common.h +++ b/common.h @@ -315,9 +315,10 @@ typedef int blasint; #endif #ifdef PILEDRIVER +#ifndef YIELDING #define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n"); #endif - +#endif #ifndef YIELDING #define YIELDING sched_yield()