From 1ba2b2e6399b3a32a934e294e63232bc8c751217 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 7 Feb 2019 14:18:19 +0100 Subject: [PATCH] Fix misedit that caused hang with OPENMP --- driver/others/memory.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/driver/others/memory.c b/driver/others/memory.c index 1e3a009e6..2e185593e 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -2671,11 +2671,8 @@ void *blas_memory_alloc(int procpos){ #endif memory[position].used = 1; -#if defined(SMP) && !defined(USE_OPENMP) + UNLOCK_COMMAND(&alloc_lock); -#else - blas_unlock(&memory[position].lock); -#endif if (!memory[position].addr) { do {