Skip to content
Discussion options

You must be logged in to vote

Hi @lucascolley , the batched solvers on CPU backends are run either with gko::ReferenceExecutor or gko::OmpExecutor. The kernel for the OpenMP backend, for example is available here : https://github.com/ginkgo-project/ginkgo/blob/develop/omp/solver/batch_cg_kernels.cpp.

With the batched methods, the low-level BLAS operations, and the per-linear system CG solver are shared between reference and OMP backends and implemented here: https://github.com/ginkgo-project/ginkgo/blob/develop/reference/solver/batch_cg_kernels.hpp

As a user, you can solve as many systems in parallel as the number of OpenMP threads you spawn, and each system solve converges (terminates) independently, so you are encou…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@lucascolley
Comment options

@pratikvn
Comment options

@lucascolley
Comment options

@pratikvn
Comment options

@lucascolley
Comment options

Answer selected by lucascolley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants