This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Add host_data operation
ClosedPublic

Authored by clementval on May 10 2023, 12:08 PM.

Details

Summary

The acc.host_data operation models the OpenACC
host_data construct (2.8). The host_data construct
defines a region where the address of data in device memory
available on the host. The operation is modeled in a similar way
than acc.data operation.

Diff Detail

Event Timeline

clementval created this revision.May 10 2023, 12:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2023, 12:08 PM
clementval requested review of this revision.May 10 2023, 12:08 PM

Update example

razvanlupusoru accepted this revision.May 10 2023, 1:21 PM

Awesome! Glad to see that the data operation model extends to these operations as well.

This revision is now accepted and ready to land.May 10 2023, 1:21 PM
jeanPerier accepted this revision.May 11 2023, 12:46 AM

Looks great

This revision was automatically updated to reflect the committed changes.