Merge pull request #877 from jeromerobert/bug873
authorZhang Xianyi <traits.zhang@gmail.com>
Mon, 16 May 2016 15:21:56 +0000 (23:21 +0800)
committerZhang Xianyi <traits.zhang@gmail.com>
Mon, 16 May 2016 15:21:56 +0000 (23:21 +0800)
Disable multi-threading in swap

interface/swap.c

index 23b2e4e..7d47d60 100644 (file)
 #include "functable.h"
 #endif
 
+// Disable multi-threading as it does not show any performance
+// benefits. Keep the multi-threading code for the record.
+#undef SMP
+
 #ifndef CBLAS
 
 void NAME(blasint *N, FLOAT *x, blasint *INCX, FLOAT *y, blasint *INCY){