Skip to content

LFRic OMPParallelLoop with reproducible reductions #3257

@sergisiso

Description

@sergisiso

Currently only separate OMPParallel and OMPLoop support reproducible reductions because we create a summation variable inside the parallel region, however, we can potentially get rid of the variable holding the thread number and add support for:
LFRicOMPParallelLoopTrans().apply(loop, {"reprod": True})

See discussion in #3226 (comment)

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