Skip to content
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

Remove take_ownership support in DLPack. #17941

Closed
wants to merge 0 commits into from
Closed

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 4, 2023

Remove take_ownership support in DLPack.

When take_ownership is true, the original buffer is marked as deleted and enforced that JAX won't attempt to read or write the buffer. This provides better error checking but at the cost of one more C++ API and two more C APIs. The same semantic can be achieved by not using take_ownership and being careful. Therefore we decided to remove take_ownership support in DLPack.

@copybara-service copybara-service bot changed the title Remove take_ownership in DLPack. Remove take_ownership support in DLPack. Oct 4, 2023
@copybara-service copybara-service bot force-pushed the test_570833889 branch 3 times, most recently from fbf65d8 to 0918266 Compare October 5, 2023 23:03
@copybara-service copybara-service bot force-pushed the test_570833889 branch 2 times, most recently from 1e6f0d1 to 494d835 Compare October 10, 2023 16:04
@copybara-service copybara-service bot closed this Oct 10, 2023
@copybara-service copybara-service bot deleted the test_570833889 branch October 10, 2023 16:43
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.

1 participant