Skip to content

Add nowait and required barriers to satisfy dependencies. #2551

Description

@LonelyCat124

Things to be careful of:
Control flow jumps, e.g.
Loops with break clauses - barriers are more complex
barriers inside if statements.

When adding a nowait look forward for dependency and add appropriate barrier if non-satisfiable.
Some similar requirements to #2499 in terms of dependency finding.
Some similar behaviours to OMPTaskwaitTrans.

Metadata

Metadata

Assignees

Labels

Cat-BIssues relating to processing of 'Category B' codes in the NG-Arch project.NG-ARCHIssues relevant to the GPU parallelisation of LFRic and other models expected to be used in NG-ARCHenhancement

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions