This is an archive of the discontinued LLVM Phabricator instance.

[Libomptarget][NFC] Rename device environment variable
ClosedPublic

Authored by jhuber6 on Jan 17 2023, 12:10 PM.

Details

Summary

This variable is used by the runtime. Before kernel launch we set it to
indicate several configuration options from the host. This patch renames
it to be more in-line with the rest of the named exported from the
runtime. This is better because this is the only symbol visible to the
host from the runtime, so it should have a reserved name.

Diff Detail

Event Timeline

jhuber6 created this revision.Jan 17 2023, 12:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2023, 12:10 PM
jhuber6 requested review of this revision.Jan 17 2023, 12:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2023, 12:10 PM
tianshilei1992 accepted this revision.Jan 17 2023, 12:19 PM

Sounds reasonable.

This revision is now accepted and ready to land.Jan 17 2023, 12:19 PM
This revision was automatically updated to reflect the committed changes.