Skip to content

Move ATen/Registry.h to ATen/core/Registry.h #11270

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

Closed
wants to merge 6 commits into from

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Sep 5, 2018

Stack:
    :white_circle:  #11250 Rename getMaybeVariableType back to getType.  💚
    :black_circle:  #11270 Move ATen/Registry.h to ATen/core/Registry.h  💚
    :white_circle:  #11273 Move VariableHooksInterface to ATen/core  💚
    :white_circle:  #11274 Move the type registry out of Context, into LegacyTypeDispatch.  💛
    :white_circle:  #11331 Improve LegacyTypeDispatch to handle initialization correctly.  💛

Still need to deduplicate this with caffe2/core/registry.h,
but this will be a bit tricky because the current formulation
of the macro is namespace sensitive (i.e., the macro for classes
defined in at:: namespace won't work if you call from caffe2::
namespace).

Differential Revision: D9654871

Differential Revision: D9654871
Differential Version: 56941453
Differential Revision: D9654871
Differential Version: 56952264
Differential Revision: D9654871
Differential Version: 57069500
Differential Revision: D9654871
Differential Version: 57070630
Differential Revision: D9654871
Differential Version: 57071085
Differential Revision: D9654871
Differential Version: 57150324
zdevito pushed a commit to zdevito/ATen that referenced this pull request Sep 7, 2018
Summary:
Pull Request resolved: pytorch/pytorch#11270

Still need to deduplicate this with caffe2/core/registry.h,
but this will be a bit tricky because the current formulation
of the macro is namespace sensitive (i.e., the macro for classes
defined in at:: namespace won't work if you call from caffe2::
namespace).

Reviewed By: gchanan

Differential Revision: D9654871

fbshipit-source-id: 2207d1f2cc6d50bd41bf64ce0eb0b8523b05d9d9
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
Pull Request resolved: pytorch#11270

Still need to deduplicate this with caffe2/core/registry.h,
but this will be a bit tricky because the current formulation
of the macro is namespace sensitive (i.e., the macro for classes
defined in at:: namespace won't work if you call from caffe2::
namespace).

Reviewed By: gchanan

Differential Revision: D9654871

fbshipit-source-id: 2207d1f2cc6d50bd41bf64ce0eb0b8523b05d9d9
@soumith soumith deleted the export-D9654871 branch February 21, 2019 23:25
@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.

2 participants