Skip to content

[pytorch][PR] Generate Type::registerCPU as we do register_cuda_types.#10947

Closed
gchanan wants to merge 2 commits intopytorch:masterfrom
gchanan:register_cpu_core
Closed

[pytorch][PR] Generate Type::registerCPU as we do register_cuda_types.#10947
gchanan wants to merge 2 commits intopytorch:masterfrom
gchanan:register_cpu_core

Conversation

@gchanan
Copy link
Contributor

@gchanan gchanan commented Aug 28, 2018

[pytorch][PR] Generate Type::registerCPU as we do register_cuda_types.

The goal here is to separate out the base Type into core; as it was done previously we need all derived Types to be defined when we compile the base Type.
GitHub Author: Gregory Chanan gchanan@fb.com

Differential Revision: D9540025

The goal here is to separate out the base Type into core; as it was done previously we need all derived Types to be defined when we compile the base Type.
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.

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

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

Nit: Put RegisterCPU.h in detail, rather than top level.

@gchanan
Copy link
Contributor Author

gchanan commented Aug 28, 2018

I think RegisterCPU should match RegisterCUDA; we should move both to detail in a later commit.

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.

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

@ezyang ezyang changed the title Generate Type::registerCPU as we do register_cuda_types. [pytorch][PR] Generate Type::registerCPU as we do register_cuda_types. Aug 29, 2018
zdevito pushed a commit to zdevito/ATen that referenced this pull request Aug 29, 2018
Summary:
The goal here is to separate out the base Type into core; as it was done previously we need all derived Types to be defined when we compile the base Type.
Pull Request resolved: pytorch/pytorch#10947

Reviewed By: gchanan

Differential Revision: D9540025

Pulled By: ezyang

fbshipit-source-id: 49f0b5acb3c378348ef3a55780abb73e4ae27edd
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
The goal here is to separate out the base Type into core; as it was done previously we need all derived Types to be defined when we compile the base Type.
Pull Request resolved: pytorch#10947

Reviewed By: gchanan

Differential Revision: D9540025

Pulled By: ezyang

fbshipit-source-id: 49f0b5acb3c378348ef3a55780abb73e4ae27edd
@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.

3 participants