Fix misedit that caused hang with OPENMP
This commit is contained in:
parent
c330ea1bc7
commit
1ba2b2e639
|
@ -2671,11 +2671,8 @@ void *blas_memory_alloc(int procpos){
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
memory[position].used = 1;
|
memory[position].used = 1;
|
||||||
#if defined(SMP) && !defined(USE_OPENMP)
|
|
||||||
UNLOCK_COMMAND(&alloc_lock);
|
UNLOCK_COMMAND(&alloc_lock);
|
||||||
#else
|
|
||||||
blas_unlock(&memory[position].lock);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!memory[position].addr) {
|
if (!memory[position].addr) {
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue