-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Use qualified name at::Half in Dispatch.h #9848
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
This makes AT_DISPATCH_ALL_TYPES_AND_HALF valid outside of the at namespace. See pytorch/extension-cpp#15
facebook-github-bot
left a comment
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.
@colesbury has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
aten/src/ATen/Dispatch.h
Outdated
| switch (the_type.scalarType()) { \ | ||
| AT_PRIVATE_CASE_TYPE(at::ScalarType::Double, double, __VA_ARGS__) \ | ||
| AT_PRIVATE_CASE_TYPE(at::ScalarType::Float, float, __VA_ARGS__) \ | ||
| AT_PRIVATE_CASE_TYPE(at::ScalarType::Half, Half, __VA_ARGS__) \ |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
facebook-github-bot
left a comment
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.
@colesbury has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
facebook-github-bot
left a comment
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.
@colesbury is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: This makes AT_DISPATCH_ALL_TYPES_AND_HALF valid outside of the at namespace. See pytorch/extension-cpp#15 Pull Request resolved: pytorch/pytorch#9848 Differential Revision: D9006921 Pulled By: colesbury fbshipit-source-id: a6e4f097a9d6fb85c921e1c9b9ea25d0f2db06dc
Summary: This makes AT_DISPATCH_ALL_TYPES_AND_HALF valid outside of the at namespace. See pytorch/extension-cpp#15 Pull Request resolved: pytorch#9848 Differential Revision: D9006921 Pulled By: colesbury fbshipit-source-id: a6e4f097a9d6fb85c921e1c9b9ea25d0f2db06dc
Summary: This makes AT_DISPATCH_ALL_TYPES_AND_HALF valid outside of the at namespace. See pytorch/extension-cpp#15 Pull Request resolved: pytorch#9848 Differential Revision: D9006921 Pulled By: colesbury fbshipit-source-id: a6e4f097a9d6fb85c921e1c9b9ea25d0f2db06dc
This makes AT_DISPATCH_ALL_TYPES_AND_HALF valid outside of the at
namespace.
See pytorch/extension-cpp#15