This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Pass mapping names to add components in a user defined mapper
ClosedPublic

Authored by jhuber6 on Mar 31 2021, 1:08 PM.

Details

Summary

Currently the mapping names are not passed to the mapper components that set up
the array region. This means array mappings will not have their names availible
in the runtime. This patch fixes this by passing the argument name to the region
correctly. This means that the mapped variable's name will be the declared
mapper that placed it on the device.

Diff Detail

Event Timeline

jhuber6 created this revision.Mar 31 2021, 1:08 PM
jhuber6 requested review of this revision.Mar 31 2021, 1:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2021, 1:08 PM

A test please.

jhuber6 updated this revision to Diff 334768.Apr 1 2021, 10:58 AM

Adding test

This revision is now accepted and ready to land.Apr 1 2021, 10:59 AM