Skip to content

Add a missing requirement for the producer of DLPack capsules#186

Merged
rgommers merged 1 commit intodata-apis:mainfrom
leofang:dltensor
May 25, 2021
Merged

Add a missing requirement for the producer of DLPack capsules#186
rgommers merged 1 commit intodata-apis:mainfrom
leofang:dltensor

Conversation

@leofang
Copy link
Copy Markdown
Contributor

@leofang leofang commented May 25, 2021

See dmlc/dlpack#34 (comment). Manipulations of a PyCapsule rely on the precise knowledge of the capsule name (PyCapsule_GetPointer, PyCapsule_GetName, PyCapsule_IsValid, etc), so we cannot allow any ambiguity.

Copy link
Copy Markdown
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

Thanks Leo!

@rgommers rgommers merged commit 2472846 into data-apis:main May 25, 2021
@leofang leofang deleted the dltensor branch May 25, 2021 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Narrative Content Narrative documentation content.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants