-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Enable simd and loop vectorizer with MSVC #20530
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
Conversation
From the log, it seems that it is a long way to go. https://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-win-ws2016-cuda10-cudnn7-py3-dev-build/3/consoleText |
The reason codes for vectorization failures: https://docs.microsoft.com/en-us/cpp/error-messages/tool-errors/vectorizer-and-parallelizer-messages?view=vs-2019 |
@pytorchbot rebase this please |
The auto-vectorization report for VS 2017: https://gist.github.com/peterjc123/714c40634ceeb9c5a533e8d78b5f24c4. The auto-vectorization report for VS 2019: |
Let's enable it first. Fixing the non-vectorized loops could be done later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@ezyang Actually I hope someone that knows/manages the vectorization of TH/THNN may look into these vectorization reports because I'm not sure which ones of those functions should be vectorized and which ones are not. |
Summary: Pull Request resolved: pytorch/pytorch#20530 Differential Revision: D15392676 Pulled By: ezyang fbshipit-source-id: c8fda0c7835127f81adf55016223bb4dc14ff40a
No description provided.