This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Add wait attribute and variadic operand
ClosedPublic

Authored by clementval on Jun 29 2023, 11:40 AM.

Details

Summary

OpenACC 3.2 allowed the wait clause to the data construct. This patch
adds a unit attribute and a variadic operand to the data operation to model
the wait clause in a similar way it was added to other data operation.
The attribute models the presence of the clause without any argument. When
arguments are provided they are placed in the wait operand.

Depends on D154111

Diff Detail

Event Timeline

clementval created this revision.Jun 29 2023, 11:40 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 29 2023, 11:40 AM
clementval requested review of this revision.Jun 29 2023, 11:40 AM

Add wiatDevnum

Add missing waitDevnum

razvanlupusoru accepted this revision.Jun 29 2023, 4:02 PM

Looks great. Thank you!

This revision is now accepted and ready to land.Jun 29 2023, 4:02 PM