This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Make kernels have protected visibility
ClosedPublic

Authored by jhuber6 on Oct 18 2022, 1:07 PM.

Details

Summary

This patch changes the kernels generated by OpenMP to have protected
visibility. This is unlikely to change anything functionally. However,
protected visibility better matches the behaviour of these GPU kernels.
We do not expect any pending shared library load to preempt these
kernels so we can specify a more restrictive visibility.

Diff Detail

Event Timeline

jhuber6 created this revision.Oct 18 2022, 1:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 18 2022, 1:07 PM
jhuber6 requested review of this revision.Oct 18 2022, 1:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 18 2022, 1:07 PM
jdoerfert accepted this revision.Oct 18 2022, 1:18 PM

LG, but all of this code should move into the IR Builder...

This revision is now accepted and ready to land.Oct 18 2022, 1:18 PM
This revision was automatically updated to reflect the committed changes.