Skip to content

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

Merged
magnatelee merged 2 commits intonv-legate:branch-22.10from
magnatelee:inline-map-0d
Aug 23, 2022
Merged

Construct NumPy arrays correctly from 0D deferred arrays backed by region fields#551
magnatelee merged 2 commits intonv-legate:branch-22.10from
magnatelee:inline-map-0d

Conversation

@magnatelee
Copy link
Contributor

With nv-legate/legate#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