Skip to content

Default BLAS3_MEM_ALLOC_THRESHOLD on all platforms to 32 #2879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 6, 2020
Merged

Default BLAS3_MEM_ALLOC_THRESHOLD on all platforms to 32 #2879

merged 3 commits into from
Oct 6, 2020

Conversation

martin-frbg
Copy link
Collaborator

and make it more easily available for configuration.
The rationale for this is that the previous rather arbitrary default of 160 implies a stack of 8192k as usual on Linux/Unix systems, but any inclusion of the Java VM at runtime will impose the Java limit of 1024k unless the caller is aware of this and adjusts the Java environment settings accordingly.
Small embedded systems might be similarly constraint due to general hardware limitations even without Java.
Fixes #2839 , #2821 and #2030 - probably the cause of #1936 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault with large NUM_THREADS
1 participant