Skip to content

Fix intrusive_ptr move/copy for different NullType's#11260

Closed
smessmer wants to merge 5 commits intoexport-D9652088from
export-D9652089
Closed

Fix intrusive_ptr move/copy for different NullType's#11260
smessmer wants to merge 5 commits intoexport-D9652088from
export-D9652089

Conversation

@smessmer
Copy link
Contributor

@smessmer smessmer commented Sep 5, 2018

Stack:
    :white_circle:  #11167 Narrowing Blob  💛
    :white_circle:  #11238 Some improvements to IValue  💛
    :white_circle:  #11258 Improve Tensor() constructor  💛
    :black_circle:  #11260 Fix intrusive_ptr move/copy for different NullType's  💛
    :white_circle:  #11294 Remove manual refcounting from Tensor class  💛
    :white_circle:  #11352 Remove intrusive_ptr::reclaim() in Storage  💛
    :white_circle:  #11353 Simplify union payload copying  💛
    :white_circle:  #11355 Simplify IValue::toTensor()  💛
    :white_circle:  #11402 Simplify Blob move constructor/assignment  💛
    :white_circle:  #11414 IValue can store Blob  💛
    :white_circle:  #11481 Blob doesn't allow access to destroyCall anymore  💛

This is needed to make something like this work:

intrusive_ptr<TensorImpl, UndefinedTensorImpl> a = make_intrusive<SparseTensorImpl>(...);

Differential Revision: D9652089

Differential Revision: D9652089
Differential Version: 56918714
Differential Revision: D9652089
Differential Version: 56982470
Differential Revision: D9652089
Differential Version: 57101550
Differential Revision: D9652089
Differential Version: 57135219
Differential Revision: D9652089
Differential Version: 57214030
zdevito pushed a commit to zdevito/ATen that referenced this pull request Sep 10, 2018
Summary:
Pull Request resolved: pytorch/pytorch#11260

This is needed to make something like this work:

    intrusive_ptr<TensorImpl, UndefinedTensorImpl> a = make_intrusive<SparseTensorImpl>(...);

Reviewed By: ezyang

Differential Revision: D9652089

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

This is needed to make something like this work:

    intrusive_ptr<TensorImpl, UndefinedTensorImpl> a = make_intrusive<SparseTensorImpl>(...);

Reviewed By: ezyang

Differential Revision: D9652089

fbshipit-source-id: 19c65e98460ccb27bc69e36d7e558cb9d6e67615
@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