This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Switch numGangs to a variadic operand
ClosedPublic

Authored by clementval on Jun 26 2023, 11:39 AM.

Details

Summary

In the latest spec, the num_gangs clause accepts up to three
arguments. Update the dialect to swicth numGangs operands from
optional single operand to a variadic operand. The verifier limits
the number of operands to three as specified in the spec.

Diff Detail

Event Timeline

clementval created this revision.Jun 26 2023, 11:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 11:39 AM
clementval requested review of this revision.Jun 26 2023, 11:39 AM
razvanlupusoru accepted this revision.Jun 26 2023, 4:03 PM

This looks great! Thank you!

This revision is now accepted and ready to land.Jun 26 2023, 4:03 PM
This revision was automatically updated to reflect the committed changes.