From a3fd074bcb780ee1b318806910417735d2e26d07 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 10 Apr 2020 21:47:17 +0200 Subject: [PATCH] Lets try an actual read barrier rather than rw - does it fail ? --- 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 527619454..842cf14fd 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 - MB; //for ARM etc - probably needs to be WMB + RMB; //for ARM etc - probably needs to be WMB do { #if defined(USE_OPENMP) if (!memory[position].used) {