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

spmv for CrsMatrix, Kokkos::Serial, fOp = "C" has a bug #1048

Closed
uhetmaniuk opened this issue Jul 13, 2021 · 0 comments
Closed

spmv for CrsMatrix, Kokkos::Serial, fOp = "C" has a bug #1048

uhetmaniuk opened this issue Jul 13, 2021 · 0 comments
Assignees

Comments

@uhetmaniuk
Copy link
Contributor

uhetmaniuk commented Jul 13, 2021

Lines do not include the conjugation operation when it is requested.

In contrast, for the hermitian operation, the lines include the conjugation.

@uhetmaniuk uhetmaniuk added the bug label Jul 13, 2021
brian-kelley added a commit to brian-kelley/kokkos-kernels that referenced this issue Aug 18, 2021
- Testing: have IOUtils sparse matrix generator use getRandomBounds()
  and the Kokkos PRNG, so that complex values actually have nonzero
  imaginary component. Before, it was always 0, so mode N and C spmvs
  were equivalent and this was never caught by testing.
- Serial: in unrolled impl, conjugate A's values in mode C
- OpenMP: just don't use the special omp impl in mode C
  (this kernel is pretty much never called in practice anyway, see
  comment in code)
brian-kelley added a commit that referenced this issue Aug 25, 2021
Fix #1048: handle mode C spmv correctly in serial/openmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants