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 {