8000 Add Python API, semantics and implementation details for DLPack by rgommers · Pull Request #106 · data-apis/array-api · GitHub
[go: up one dir, main page]

Skip to content

Add Python API, semantics and implementation details for DLPack #106

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

Merged
merged 12 commits into from
Feb 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve the description of the stream keyword for __dlpack__
  • Loading branch information
rgommers committed Feb 17, 2021
commit 897ca2eae442e969a7910ee4dd852f1de1fc9c7f
2 changes: 1 addition & 1 deletion spec/API_specification/array_object.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ Exports the array as a DLPack capsule, for consumption by {ref}`function-from_dl

- **stream**: _Optional\[int\]_

- If given, the stream number the consumer will use on the device the array is present on, as a Python integer. Device-specific notes:
- An optional pointer to a stream, as a Python integer, provided by the consumer that the producer will use to make the array safe to operate on. Device-specific notes:

:::{admonition} CUDA
- `None`: producer must assume the legacy default stream (default),
Expand Down
0