Skip to content

How to apply algorithms in parallel across blocks? #1

@ctessum

Description

@ctessum

It seems like it would make sense to allow the user to control how operations are applied (i.e. whether to use multithreading or not) when the same operation needs to be applied to all the blocks. The code that I added allows a MapAlgorithm argument when initializing the matrix, which specifies what algorithm to use for parallel operations. I didn't include the code for that, but it is here: https://github.com/EarthSciML/EarthSciMLBase.jl/blob/main/src/mtk_grid_func.jl#L7

There may be a better way to do it, though.

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