Skip to content

Commit

Permalink
Neg stride BLAS support
Browse files Browse the repository at this point in the history
Define `vec_pointer_stride`

Blas use the beginning in memory as the vector ptr.
Also add test.

Add neg-stride support to `scal!`

test added

Simplify `dot` implement

Add neg-stride support to `nrm2`/`asum`/`iamax`

test added
some test clean

Add neg-stride support to `axp(b)y!`

And some code clean.
tesst added

Add neg-stride support to `symv`/`hemv`

test added

Add neg-stride support to `gbmv`/`hbmv`/`sbmv`

test added

Add neg-stride support to `hpmv`/`spmv`

test added (and some code clean)

Add neg-stride support to `ger`/`her`/`syr`

test added

Add neg-stride support to `trmv`/`trsv`

test added

Add neg-stride support to `spr!`

Add neg-stride support to `copyto!`

test added

add some lazy

some test clean

Simplify `gemv` implement

Reject 0-stride array as input/dest.

Only allow 0-stride inputs in `dot`/`axp(b)y`

Add zero stride-check to `LinearAlgebra.gemv!`

Also call BLAS for negative `lda` (if possible)

Typo fix

Co-Authored-By: Daniel Karrasch <daniel.karrasch@posteo.de>
  • Loading branch information
N5N3 and dkarrasch committed Feb 9, 2022
1 parent cc2d6f2 commit bc2e7b3
Show file tree
Hide file tree
Showing 4 changed files with 358 additions and 342 deletions.
Loading

0 comments on commit bc2e7b3

Please sign in to comment.