From 40af513669992ab9677aa9fb99de1d995ec522a6 Mon Sep 17 00:00:00 2001 From: Jerome Robert Date: Mon, 16 May 2016 13:07:55 +0000 Subject: [PATCH] Disable multi-threading in swap * Close #873 --- interface/swap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/swap.c b/interface/swap.c index 23b2e4ec8b..7d47d600bd 100644 --- a/interface/swap.c +++ b/interface/swap.c @@ -42,6 +42,10 @@ #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){