Skip to content

Remove unnecessary functions from StorageDerived.h#9553

Closed
cpuhrsch wants to merge 4 commits intopytorch:masterfrom
cpuhrsch:novirtstore
Closed

Remove unnecessary functions from StorageDerived.h#9553
cpuhrsch wants to merge 4 commits intopytorch:masterfrom
cpuhrsch:novirtstore

Conversation

@cpuhrsch
Copy link
Contributor

No description provided.

@cpuhrsch cpuhrsch changed the title Remove unnecessary virtuals from StorageDerived.h Remove unnecessary functions from StorageDerived.h Jul 18, 2018
@ezyang
Copy link
Contributor

ezyang commented Jul 18, 2018

@pytorchbot retest this please

@ezyang
Copy link
Contributor

ezyang commented Jul 18, 2018

@pytorchbot retest this please

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.

Very nice; I think all of the leftover functions can be devirtualized now!

@ezyang
Copy link
Contributor

ezyang commented Jul 19, 2018

needs a rebase

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.

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

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.

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

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.

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

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.

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

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.

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

@ezyang
Copy link
Contributor

ezyang commented Jul 20, 2018

@pytorchbot retest this please

zdevito pushed a commit to zdevito/ATen that referenced this pull request Jul 20, 2018
Summary: Pull Request resolved: pytorch/pytorch#9553

Reviewed By: ezyang

Differential Revision: D8915526

Pulled By: cpuhrsch

fbshipit-source-id: 32013d3aa58a1a68637f99ee619d06e27fadaad6
@ezyang ezyang mentioned this pull request Jul 22, 2018
9 tasks
@ezyang ezyang mentioned this pull request Jul 23, 2018
11 tasks
facebook-github-bot pushed a commit that referenced this pull request Jul 24, 2018
Summary:
Constituent PRs:

- [x] #9553 Remove unnecessary functions from StorageDerived.h (by cpuhrsch, reviewed by ezyang)
- [x] #9588 Use THTensor/Storage for THVoidTensor/Storage (by cpuhrsch , reviewed by gchanan)
- [x] #9627 Delete context from tensor (by ezyang, reviewed by gchanan)
- [x] #9641 Tensor reorganization (by ezyang, reviewed by gchanan )
- [x] #9647 Remove dim_ from THTensor (by cpuhrsch, reviewed by ezyang)
- [x] #9650 Remove context (by cpuhrsch, reviewed by gchanan and ezyang)
- [x] #9715 Fix Windows build in tensor merge PR (by ezyang, reviewed by gchanan and SsnL)

Upcoming PRs which didn't make this cut:

- [x] #9644 Stride move to TensorImpl, and nits (by ezyang, reviewed by gchanan)
- [ ] #9652 Native localScalar  (by ezyang, **UNREVIEWED AND FAILING TESTS**)
- [x] #9710 Devirtualize TensorImpl::toString (by ezyang, reviewed by gchanan)
- [ ] #9654 Use int64_t instead of ptrdiff_t for size / Rename flag to resizable_  (by cpuhrsch, **CHANGES REQUESTED AND FAILING TESTS**)
Pull Request resolved: #9713

Reviewed By: gchanan

Differential Revision: D8960882

Pulled By: ezyang

fbshipit-source-id: 99747b2c5462c7ff6809b67aacb4197626408204
jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
Summary: Pull Request resolved: pytorch#9553

Reviewed By: ezyang

Differential Revision: D8915526

Pulled By: cpuhrsch

fbshipit-source-id: 32013d3aa58a1a68637f99ee619d06e27fadaad6
jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
Summary:
Constituent PRs:

- [x] pytorch#9553 Remove unnecessary functions from StorageDerived.h (by cpuhrsch, reviewed by ezyang)
- [x] pytorch#9588 Use THTensor/Storage for THVoidTensor/Storage (by cpuhrsch , reviewed by gchanan)
- [x] pytorch#9627 Delete context from tensor (by ezyang, reviewed by gchanan)
- [x] pytorch#9641 Tensor reorganization (by ezyang, reviewed by gchanan )
- [x] pytorch#9647 Remove dim_ from THTensor (by cpuhrsch, reviewed by ezyang)
- [x] pytorch#9650 Remove context (by cpuhrsch, reviewed by gchanan and ezyang)
- [x] pytorch#9715 Fix Windows build in tensor merge PR (by ezyang, reviewed by gchanan and SsnL)

Upcoming PRs which didn't make this cut:

- [x] pytorch#9644 Stride move to TensorImpl, and nits (by ezyang, reviewed by gchanan)
- [ ] pytorch#9652 Native localScalar  (by ezyang, **UNREVIEWED AND FAILING TESTS**)
- [x] pytorch#9710 Devirtualize TensorImpl::toString (by ezyang, reviewed by gchanan)
- [ ] pytorch#9654 Use int64_t instead of ptrdiff_t for size / Rename flag to resizable_  (by cpuhrsch, **CHANGES REQUESTED AND FAILING TESTS**)
Pull Request resolved: pytorch#9713

Reviewed By: gchanan

Differential Revision: D8960882

Pulled By: ezyang

fbshipit-source-id: 99747b2c5462c7ff6809b67aacb4197626408204
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary: Pull Request resolved: pytorch#9553

Reviewed By: ezyang

Differential Revision: D8915526

Pulled By: cpuhrsch

fbshipit-source-id: 32013d3aa58a1a68637f99ee619d06e27fadaad6
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
Constituent PRs:

- [x] pytorch#9553 Remove unnecessary functions from StorageDerived.h (by cpuhrsch, reviewed by ezyang)
- [x] pytorch#9588 Use THTensor/Storage for THVoidTensor/Storage (by cpuhrsch , reviewed by gchanan)
- [x] pytorch#9627 Delete context from tensor (by ezyang, reviewed by gchanan)
- [x] pytorch#9641 Tensor reorganization (by ezyang, reviewed by gchanan )
- [x] pytorch#9647 Remove dim_ from THTensor (by cpuhrsch, reviewed by ezyang)
- [x] pytorch#9650 Remove context (by cpuhrsch, reviewed by gchanan and ezyang)
- [x] pytorch#9715 Fix Windows build in tensor merge PR (by ezyang, reviewed by gchanan and SsnL)

Upcoming PRs which didn't make this cut:

- [x] pytorch#9644 Stride move to TensorImpl, and nits (by ezyang, reviewed by gchanan)
- [ ] pytorch#9652 Native localScalar  (by ezyang, **UNREVIEWED AND FAILING TESTS**)
- [x] pytorch#9710 Devirtualize TensorImpl::toString (by ezyang, reviewed by gchanan)
- [ ] pytorch#9654 Use int64_t instead of ptrdiff_t for size / Rename flag to resizable_  (by cpuhrsch, **CHANGES REQUESTED AND FAILING TESTS**)
Pull Request resolved: pytorch#9713

Reviewed By: gchanan

Differential Revision: D8960882

Pulled By: ezyang

fbshipit-source-id: 99747b2c5462c7ff6809b67aacb4197626408204
@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