Browse Source

Clean up debug messages

tags/v0.3.18
Martin Kroeker GitHub 4 years ago
parent
commit
2db1a99aca
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      driver/others/memory.c

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

@@ -2985,7 +2985,7 @@ void *blas_memory_alloc(int procpos){

error:
if (memory_overflowed) goto terminate;
printf("num_buffers exceeded, adding auxiliary array\n");
fprintf(stderr,"OpenBLAS warning: precompiled NUM_THREADS exceeded, adding auxiliary array for thread metadata.\n")
memory_overflowed=1;
new_release_info = (struct release_t*) malloc(512*sizeof(struct release_t));
newmemory = (struct newmemstruct*) malloc(512*sizeof(struct newmemstruct));
@@ -3057,9 +3057,9 @@ allocation2:
UNLOCK_COMMAND(&alloc_lock);
#endif

//#ifdef DEBUG
#ifdef DEBUG
printf(" Mapping Succeeded. %p(%d)\n", (void *)newmemory[position-NUM_BUFFERS].addr, position);
//#endif
#endif

#if defined(WHEREAMI) && !defined(USE_OPENMP)

@@ -3110,9 +3110,9 @@ void blas_memory_free(void *free_area){
UNLOCK_COMMAND(&alloc_lock);
#endif

//#ifdef DEBUG
#ifdef DEBUG
printf("Unmap from overflow area succeeded.\n\n");
//#endif
#endif
return;
} else {
// arm: ensure all writes are finished before other thread takes this memory


Loading…
Cancel
Save