From fa38477aef2d2920868fd5dc1aef65f34d636605 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 10 Apr 2020 15:52:03 +0200 Subject: [PATCH] Convert to read barrier, will probably fail now --- driver/others/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/others/memory.c b/driver/others/memory.c index 1218de9d3..527619454 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -2716,7 +2716,7 @@ void *blas_memory_alloc(int procpos){ #if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP) LOCK_COMMAND(&alloc_lock); #endif - WMB; + MB; //for ARM etc - probably needs to be WMB do { #if defined(USE_OPENMP) if (!memory[position].used) {