Browse Source

Fix misedit that caused hang with OPENMP

pull/2004/head
Martin Kroeker GitHub 7 years ago
parent
commit
1ba2b2e639
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      driver/others/memory.c

+ 1
- 4
driver/others/memory.c View File

@@ -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 {


Loading…
Cancel
Save