Skip to content

Shift transition to multithreading towards larger matrix sizes #1971

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 2 commits into from
Jan 24, 2019
Merged

Shift transition to multithreading towards larger matrix sizes #1971

merged 2 commits into from
Jan 24, 2019

Conversation

martin-frbg
Copy link
Collaborator

See #1886 and JuliaRobotics issue 500. trsm benchmarks on Haswell and Zen showed that with these values performance is roughly doubled for matrix sizes between 8x8 and 14x14, and still 10 to 20 percent better near the new cutoff at 32x32.

See #1886 and JuliaRobotics issue 500. trsm benchmarks on Haswell and Zen showed that with these values performance is roughly doubled for matrix sizes between 8x8 and 14x14, and still 10 to 20 percent better near the new cutoff at 32x32.
@martin-frbg
Copy link
Collaborator Author

Interestingly the impact on very thin matrices with only one of M and N below the threshold (e.g. 500x2 or 2x500) appears to be fairly small.

@martin-frbg
Copy link
Collaborator Author

Perhaps not surprisingly, this actually has huge drawbacks for matrix dimensions like 500x20... will see if basing the decision on args.m*args.n like it is done in other interface routines works, or perhaps a combination of both approaches.

@martin-frbg
Copy link
Collaborator Author

Meh. appveyor is starting to time out on the dynamic_arch build again.

@martin-frbg martin-frbg reopened this Jan 23, 2019
@martin-frbg martin-frbg merged commit 3f7bb87 into OpenMathLib:develop Jan 24, 2019
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.

1 participant