Repository navigation
Improve the "tried to allocate too many buffers" error message - #3330
Conversation
|
It reverts #3326 |
|
Yes I need to rebase it when I'm back home tomorrow |
|
Sorry if I have misunderstood - but for the case where the number of CPUs is higher than the compiled number of threads, is it reasonable to use the compiled number of threads by default, rather than segfaulting? |
|
This is supposed to happen already, i.e. the number of threads (cores) found on startup is compared against the compile-time limit and should be capped at that value. Unfortunately there must be a logic flaw elsewhere in the code (and basically present since the days of GotoBLAS) but I have not managed to find it. |
|
The problem happens when the threads are created externally to OpenBLAS but the user code:
@martin-frbg It there a some public API for the user program to introspect at run time the value of |
|
BTW in the pattern I describe above, setting Introspecting the value of |
|
openblas_get_config() will return either |
for #3321 (leaving the original message intact despite dubious grammar, as it has accumulated lots of search engine hits over the years)