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

BUG: core: fix ilp64 blas dot/vdot/... for strides > int32 max #17243

Merged
merged 2 commits into from Sep 4, 2020

Conversation

charris
Copy link
Member

@charris charris commented Sep 3, 2020

Backport of #17121.

Fix overlooked int cast when HAVE_BLAS_ILP64 is defined.
It was supposed to cast to CBLAS_INT, not int.
Also add a regression test.

Fixes #17111

Fix overlooked int cast when HAVE_BLAS_ILP64 is defined.
It was supposed to cast to CBLAS_INT, not int.
Also add a regression test.

Move blas_stride() to npy_cblas.h
Replace npy_is_aligned by modulo; we're going to call BLAS so no need to
micro-optimize integer division here.
@charris charris merged commit 7ea09ad into numpy:maintenance/1.19.x Sep 4, 2020
@charris charris deleted the backport-17121 branch September 4, 2020 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants