This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][NFC] Provide a new remark and documentation
ClosedPublic

Authored by jdoerfert on Dec 16 2020, 6:32 PM.

Details

Summary

If a GPU function is externally reachable we give up trying to find the
(unique) kernel it is called from. This can hinder optimizations. Emit a
remark and explain mitigation strategies.

Diff Detail

Event Timeline

jdoerfert created this revision.Dec 16 2020, 6:32 PM
jdoerfert requested review of this revision.Dec 16 2020, 6:32 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 16 2020, 6:32 PM
tianshilei1992 accepted this revision.Dec 17 2020, 8:57 AM

Looks good.

openmp/docs/remarks/OptimizationRemarks.rst
8

Just out of curiosity, why OMP100?

This revision is now accepted and ready to land.Dec 17 2020, 8:57 AM
jdoerfert added inline comments.Dec 17 2020, 8:58 AM
openmp/docs/remarks/OptimizationRemarks.rst
8

so that all remarks can have a 3 digit code.

This revision was landed with ongoing or failed builds.Dec 17 2020, 12:38 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 17 2020, 12:38 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript