File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2985,7 +2985,7 @@ void *blas_memory_alloc(int procpos){
29852985
29862986 error :
29872987 if (memory_overflowed ) goto terminate ;
2988- printf ( "num_buffers exceeded, adding auxiliary array\n" );
2988+ fprintf ( stderr , "OpenBLAS warning: precompiled NUM_THREADS exceeded, adding auxiliary array for thread metadata. \n" )
29892989 memory_overflowed = 1 ;
29902990 new_release_info = (struct release_t * ) malloc (512 * sizeof (struct release_t ));
29912991 newmemory = (struct newmemstruct * ) malloc (512 * sizeof (struct newmemstruct ));
@@ -3057,9 +3057,9 @@ void *blas_memory_alloc(int procpos){
30573057 UNLOCK_COMMAND (& alloc_lock );
30583058#endif
30593059
3060- // #ifdef DEBUG
3060+ #ifdef DEBUG
30613061 printf (" Mapping Succeeded. %p(%d)\n" , (void * )newmemory [position - NUM_BUFFERS ].addr , position );
3062- // #endif
3062+ #endif
30633063
30643064#if defined(WHEREAMI ) && !defined(USE_OPENMP )
30653065
@@ -3110,9 +3110,9 @@ void blas_memory_free(void *free_area){
31103110 UNLOCK_COMMAND (& alloc_lock );
31113111#endif
31123112
3113- // #ifdef DEBUG
3113+ #ifdef DEBUG
31143114 printf ("Unmap from overflow area succeeded.\n\n" );
3115- // #endif
3115+ #endif
31163116 return ;
31173117} else {
31183118 // arm: ensure all writes are finished before other thread takes this memory
You can’t perform that action at this time.
0 commit comments