Browse Source

Convert to read barrier, will probably fail now

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

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

@@ -2716,7 +2716,7 @@ void *blas_memory_alloc(int procpos){
#if (defined(SMP) || defined(USE_LOCKING)) && !defined(USE_OPENMP)
LOCK_COMMAND(&alloc_lock);
#endif
WMB;
MB; //for ARM etc - probably needs to be WMB
do {
#if defined(USE_OPENMP)
if (!memory[position].used) {


Loading…
Cancel
Save