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

Add a note about non-native endianness #98

Merged
merged 2 commits into from
Mar 8, 2022

Conversation

tirthasheshpatel
Copy link
Contributor

Addresses #97

Added a note saying non-native endianness isn't supported and that exporting such arrays must raise an error. @tqchen Do we want this on the roadmap or should we consider it out of scope?

include/dlpack/dlpack.h Outdated Show resolved Hide resolved
Copy link
Contributor

@leofang leofang left a comment

Choose a reason for hiding this comment

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

On my cell, sorry for brevity. Technically this note changes producers' required runtime behavior, should we bump the DLPack version as a heads-up?

@tqchen tqchen merged commit dbe6bc3 into dmlc:main Mar 8, 2022
@rgommers
Copy link
Contributor

rgommers commented Mar 8, 2022

Technically this note changes producers' required runtime behavior, should we bump the DLPack version as a heads-up?

I don't think it does really - implicitly this was always the requirement (because non-native endianness isn't handled at all), it just wasn't documented.

@tirthasheshpatel
Copy link
Contributor Author

tirthasheshpatel commented Mar 9, 2022

Thanks for the reviews @edgarriba @tqchen @rgommers @leofang.

@tirthasheshpatel tirthasheshpatel deleted the endianness-support branch March 9, 2022 01:03
@leofang
Copy link
Contributor

leofang commented Mar 18, 2022

Thanks, @tirthasheshpatel!

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.

None yet

5 participants