Browse Source

Update memory.c

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

+ 3
- 3
driver/others/memory.c View File

@@ -1117,10 +1117,10 @@ void *blas_memory_alloc(int procpos){
memory[position].used = 1;
#if defined(SMP) && !defined(USE_OPENMP)
UNLOCK_COMMAND(&alloc_lock);
#else
blas_unlock(&memory[position].lock);
#endif
/* blas_unlock(&memory[position].lock);*/

if (!memory[position].addr) {
do {
#ifdef DEBUG


Loading…
Cancel
Save