Skip to content

BUG: fix loading and storing big arrays on s390x#23495

Merged
charris merged 1 commit intonumpy:mainfrom
AlekseiNikiforovIBM:pytorch_fixes
Apr 5, 2023
Merged

BUG: fix loading and storing big arrays on s390x#23495
charris merged 1 commit intonumpy:mainfrom
AlekseiNikiforovIBM:pytorch_fixes

Conversation

@AlekseiNikiforovIBM
Copy link
Copy Markdown
Contributor

Fix loading and storing big arrays on s390x and add testcase.

Due to cutting 32-bit int to 16-bit int, zeroes appear in the middle of big array.

@charris
Copy link
Copy Markdown
Member

charris commented Mar 30, 2023

I assume this is 390 specific?

@seiko2plus Thoughts?

@AlekseiNikiforovIBM
Copy link
Copy Markdown
Contributor Author

As far as I'm aware it's s390x-specific.

Copy link
Copy Markdown
Member

@seiko2plus seiko2plus left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you for the fix.

@charris charris merged commit 91921d6 into numpy:main Apr 5, 2023
@charris
Copy link
Copy Markdown
Member

charris commented Apr 5, 2023

Thanks @AlekseiNikiforovIBM .

@seiko2plus seiko2plus added 09 - Backport-Candidate PRs tagged should be backported component: SIMD Issues in SIMD (fast instruction sets) code or machinery labels Apr 5, 2023
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug component: SIMD Issues in SIMD (fast instruction sets) code or machinery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants