Skip to content

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

Merged
charris merged 2 commits into
numpy:maintenance/1.19.xfrom
charris:backport-17121
Sep 4, 2020
Merged

BUG: core: fix ilp64 blas dot/vdot/... for strides > int32 max#17243
charris merged 2 commits into
numpy:maintenance/1.19.xfrom
charris:backport-17121

Conversation

@charris

@charris charris commented Sep 3, 2020

Copy link
Copy Markdown
Member

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

pv added 2 commits September 3, 2020 17:35
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.

2 participants