ginkgo-project / ginkgo

Numerical linear algebra software package
https://ginkgo-project.github.io/
BSD 3-Clause "New" or "Revised" License
415 stars 90 forks source link

Fix stride for GCR initialization #1656

Closed upsj closed 4 months ago

upsj commented 4 months ago

Noticed by @nbeams, the GCR initialization kernel uses an incorrect stride. This fixes it and adds a test for the behavior.

upsj commented 4 months ago

@yhmtsai exactly, the residual uses the default stride, while b can have an arbitrary stride

ginkgo-bot commented 4 months ago

Error: PR already merged!