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

GEMM / GEMV et al calling scal #25

Open
wolfv opened this issue Aug 11, 2018 · 0 comments
Open

GEMM / GEMV et al calling scal #25

wolfv opened this issue Aug 11, 2018 · 0 comments

Comments

@wolfv
Copy link

wolfv commented Aug 11, 2018

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: xtensor-stack/xtensor-blas#75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant