Skip to content

Commit

Permalink
Merge pull request OpenMathLib#4222 from dev-zero/bugfix/correct-thre…
Browse files Browse the repository at this point in the history
…ad-warning

memory: show correct number of max threads
  • Loading branch information
martin-frbg authored Sep 16, 2023
2 parents 466e611 + 6a611db commit bb2f1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/others/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -3012,7 +3012,7 @@ void *blas_memory_alloc(int procpos){
if (memory_overflowed) goto terminate;
fprintf(stderr,"OpenBLAS warning: precompiled NUM_THREADS exceeded, adding auxiliary array for thread metadata.\n");
fprintf(stderr,"To avoid this warning, please rebuild your copy of OpenBLAS with a larger NUM_THREADS setting\n");
fprintf(stderr,"or set the environment variable OPENBLAS_NUM_THREADS to %d or lower\n", NUM_BUFFERS);
fprintf(stderr,"or set the environment variable OPENBLAS_NUM_THREADS to %d or lower\n", MAX_CPU_NUMBER);
memory_overflowed=1;
new_release_info = (struct release_t*) malloc(512*sizeof(struct release_t));
newmemory = (struct newmemstruct*) malloc(512*sizeof(struct newmemstruct));
Expand Down

0 comments on commit bb2f1ec

Please sign in to comment.