FLENS icon indicating copy to clipboard operation
FLENS copied to clipboard

GEMM / GEMV et al calling scal

Open wolfv opened this issue 6 years ago • 0 comments

Currently, GEMM and GEMV (and related functions) call scal which is not totally correct. In the original BLAS implementation, first it is checked wether the scaling parameter is 0 or not. If the scaling parameter is 0, the array is 0 initialized.

This leads to such problems as spurious nan's when computing the result into an uninitialized block of memory for xtensor-blas users.

Ref: https://github.com/QuantStack/xtensor-blas/issues/75

wolfv avatar Aug 11 '18 14:08 wolfv