Skip to content

Fix Mac CUDA issues#9269

Closed
orionr wants to merge 2 commits intopytorch:masterfrom
orionr:fix-mac-cuda
Closed

Fix Mac CUDA issues#9269
orionr wants to merge 2 commits intopytorch:masterfrom
orionr:fix-mac-cuda

Conversation

@orionr
Copy link
Contributor

@orionr orionr commented Jul 9, 2018

Breaking this out of #8338

This takes care of failures we saw on Mac CUDA builds when BUILD_CAFFE2 and BUILD_ATEN were removed. Specifically, @smessmer fixed std::hash being handled in a weird way by nvcc and I fixed an nvcc template issue by moving SparseNormalizeOp::RunOnDevice implementation into the cc file.

cc @mingzhe09088 @smessmer

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.

@orionr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@orionr
Copy link
Contributor Author

orionr commented Jul 9, 2018

@pytorchbot retest this please

Copy link
Contributor

@mingzhe09088 mingzhe09088 left a comment

Choose a reason for hiding this comment

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

LGTM.

goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
Breaking this out of pytorch#8338

This takes care of failures we saw on Mac CUDA builds when BUILD_CAFFE2 and BUILD_ATEN were removed. Specifically, smessmer fixed `std::hash` being handled in a weird way by nvcc and I fixed an nvcc template issue by moving `SparseNormalizeOp::RunOnDevice` implementation into the cc file.

cc mingzhe09088 smessmer
Pull Request resolved: pytorch#9269

Reviewed By: mingzhe09088

Differential Revision: D8767984

Pulled By: orionr

fbshipit-source-id: 550686bfcef6d331f16d593859c99169216c5c2e
@ezyang ezyang added the merged label Jun 26, 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.

4 participants