Page MenuHomePhabricator

[OpenMP] Add thread ID function into new RTL
ClosedPublic

Authored by jhuber6 on Sep 21 2021, 12:34 PM.

Details

Summary

The new device runtime library currently lacks the
kmpc_get_hardware_thread_id_in_block function which is currently used
when doing the SPMDzation optimization. This call would be introduced
through the optimization and then cause a linking error because it was
not present. This patch adds support for this runtime call.

Diff Detail

Event Timeline

jhuber6 created this revision.Sep 21 2021, 12:34 PM
jhuber6 requested review of this revision.Sep 21 2021, 12:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2021, 12:34 PM
This revision is now accepted and ready to land.Sep 21 2021, 12:36 PM
This revision was landed with ongoing or failed builds.Sep 21 2021, 2:44 PM
This revision was automatically updated to reflect the committed changes.