Skip to content

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented May 9, 2019

Stack from ghstack:

I also reordered the macros so the deprecated ones are all
at the end.

Signed-off-by: Edward Z. Yang ezyang@mit.edu

Differential Revision: D15295652

I also reordered the macros so the deprecated ones are all
at the end.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
@pytorchbot pytorchbot added the module: internals Related to internal abstractions in c10 and ATen label May 9, 2019
@ezyang ezyang requested a review from izdeby May 10, 2019 13:35
Add documentation to Dispatch.h

I also reordered the macros so the deprecated ones are all
at the end.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>

gh-metadata: pytorch pytorch 20339 gh/ezyang/127/head
// DEPRECATED MACROS, DON'T USE THESE
// ----------------------------------------------------------------------------

#define AT_DISPATCH_ALL_TYPES_AND_HALF(TYPE, NAME, ...) \
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont think these two are being used anywhere. can we just kill them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're the expert on this :) IIRC, we weren't allowed to remove them because external code might be using them.

@izdeby
Copy link
Contributor

izdeby commented May 10, 2019

Love this change!

@zou3519 zou3519 deleted the gh/ezyang/127/head branch May 10, 2019 21:33
@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 3aa414c.

zdevito pushed a commit to zdevito/ATen that referenced this pull request May 10, 2019
Summary:
Pull Request resolved: pytorch/pytorch#20339
ghimport-source-id: 99b6cf9f03be8d55674a43c8a7e19a42b75143f1

Differential Revision: D15295652

Pulled By: ezyang

fbshipit-source-id: f3b127ed3f53f13931596c06e181056940443290
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: internals Related to internal abstractions in c10 and ATen

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants