Skip to content
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

Refactor scatter/gather ops to use the new cost based threadpool abstractions. #3776

Merged
merged 4 commits into from
May 2, 2020

Conversation

pranavsharma
Copy link
Contributor

Description: Refactor scatter/gather ops to use the new cost based threadpool abstractions. Also removed unnecessary usages of openmp. Tested on all models in the perf dashboard. For non-openmp builds it seemed to perform better than the master for most models. The openmp builds should've no impact.

Motivation and Context
Consistent usage of threapool APIs across all ops that account for openmp and Eigen in one place.

@pranavsharma pranavsharma requested a review from a team as a code owner April 30, 2020 23:13
@pranavsharma
Copy link
Contributor Author

I've one more change coming up in mlas/lib/threading.cpp file. Prefer to separate this from mlas change for easy debugging in case there are any perf regressions.

Copy link
Contributor

@skottmckay skottmckay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@skottmckay skottmckay merged commit 2b8d9ef into master May 2, 2020
@skottmckay skottmckay deleted the scatgat branch May 2, 2020 07:09
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.

2 participants