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

Let user be able to change MKLDNN "-m" flags back and forth in subsequent builds #23608

Closed
wants to merge 1 commit into from

Conversation

xuhdev
Copy link
Collaborator

@xuhdev xuhdev commented Jul 31, 2019

Currently once user has set USE_NATIVE_ARCH to OFF, they will never be able to turn it on for MKLDNN again by simply changing USE_NATIVE_ARCH. This commit fixes this issue.

Following up 09ba4df

@pytorchbot pytorchbot added the module: build Build system issues label Jul 31, 2019
@xuhdev xuhdev requested a review from ezyang July 31, 2019 17:52
@xuhdev
Copy link
Collaborator Author

xuhdev commented Jul 31, 2019

cc @gujinghui

@ezyang
Copy link
Contributor

ezyang commented Jul 31, 2019

Waiting on CI

@xuhdev
Copy link
Collaborator Author

xuhdev commented Aug 1, 2019

@pytorchbot merge this please

@pytorchbot pytorchbot added the merge-this-please Was marked for merge with @pytorchbot merge this please label Aug 1, 2019
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 388dc4f.

zdevito pushed a commit to zdevito/ATen that referenced this pull request Aug 1, 2019
…uent builds (#23608)

Summary:
Currently once user has set `USE_NATIVE_ARCH` to OFF, they will never be able to turn it on for MKLDNN again by simply changing `USE_NATIVE_ARCH`. This commit fixes this issue.

Following up 09ba4df031ed51e05724bb490d4d6fc52b3b1ac6
Pull Request resolved: pytorch/pytorch#23608

Differential Revision: D16599600

Pulled By: ezyang

fbshipit-source-id: 88bbec1b1504b5deba63e56f78632937d003a1f6
@xuhdev xuhdev deleted the build/mkldnn branch August 1, 2019 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-this-please Was marked for merge with @pytorchbot merge this please Merged module: build Build system issues open source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants