Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Parallelized SparseBlockMatrix construction #1

@AlePalu

Description

@AlePalu

With multithreading support, it would be possible to speed-up the construction of a SparseBlockMatrix by assigning the computation of each block to a thread.

Ideally, each thread should fill a std::vector of triplets (or fill a unique shared thread-safe container), each corresponding to a block. The final assembly of the overall matrix is then performed sequentially (setFromTriplets is fast) from one working thread.

Some interesting ideas here: https://gitlab.com/libeigen/eigen/-/issues/2631

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions