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

Construct NumPy arrays correctly from 0D deferred arrays backed by region fields #551

Merged
merged 2 commits into from
Aug 23, 2022

Conversation

magnatelee
Copy link
Contributor

With nv-legate/legate.core#340 we can now inline map 0D stores, but the allocations are 1D instead of 0D, due to the limitation in Legion. This PR adds a reshaping call to turn them back to 0D.

@magnatelee magnatelee merged commit a12f070 into nv-legate:branch-22.10 Aug 23, 2022
@magnatelee magnatelee deleted the inline-map-0d branch August 23, 2022 21:34
jjwilke pushed a commit to jjwilke/cunumeric that referenced this pull request Sep 2, 2022
…gion fields (nv-legate#551)

* Handle inline allocations from 0D stores correctly (spoiler: they are not 0D)

* Add a test case for 0D region-backed stores
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