Skip to content

fixing advanced indexing operation for empty arrays#504

Merged
ipdemes merged 16 commits intonv-legate:branch-22.10from
ipdemes:fix_advanced_indexing
Aug 22, 2022
Merged

fixing advanced indexing operation for empty arrays#504
ipdemes merged 16 commits intonv-legate:branch-22.10from
ipdemes:fix_advanced_indexing

Conversation

@ipdemes
Copy link
Contributor

@ipdemes ipdemes commented Aug 4, 2022

This PR fixes test cases when input/index and/or values are empty arrays
It depends on nv-legate/legate#319 to me merged first

@ipdemes ipdemes requested review from magnatelee and manopapad August 4, 2022 23:10
@ipdemes ipdemes force-pushed the fix_advanced_indexing branch from d02073e to 20f4bed Compare August 4, 2022 23:12
@ipdemes ipdemes force-pushed the fix_advanced_indexing branch from 25535a1 to bb89577 Compare August 5, 2022 21:27
@ipdemes
Copy link
Contributor Author

ipdemes commented Aug 11, 2022

This PR also fixes reshape for empty arrays with ndim >1 (arrays with shapes (1,0), (1,0,0) e.t.c)

@ipdemes ipdemes requested a review from manopapad August 19, 2022 19:46
Copy link
Contributor

@manopapad manopapad left a comment

Choose a reason for hiding this comment

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

Great job fixing this very stupid corner case

@ipdemes
Copy link
Contributor Author

ipdemes commented Aug 19, 2022

Thank you, Manolis! Will merge it after CI passes

@ipdemes ipdemes merged commit ede9793 into nv-legate:branch-22.10 Aug 22, 2022
jjwilke pushed a commit to jjwilke/cunumeric that referenced this pull request Sep 2, 2022
fixing advanced indexing operation for empty arrays
@ipdemes ipdemes deleted the fix_advanced_indexing branch January 12, 2023 05:20
manopapad pushed a commit that referenced this pull request Nov 17, 2024
XiaLuNV pushed a commit to XiaLuNV/cunumeric that referenced this pull request Dec 13, 2024
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.

3 participants