This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Remove obsolete external interface for device RT
ClosedPublic

Authored by jdoerfert on Oct 20 2021, 8:46 AM.

Details

Summary

We do not generate _serialized_parallel calls in device mode, no
need for an external API.

Diff Detail

Event Timeline

jdoerfert created this revision.Oct 20 2021, 8:46 AM
jdoerfert requested review of this revision.Oct 20 2021, 8:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2021, 8:46 AM
Herald added a subscriber: sstefan1. · View Herald Transcript

I thought these were used for nested parallel clauses, but if clang doesn't emit calls to them, better deleted

JonChesterfield accepted this revision.Oct 20 2021, 10:32 AM

Yep, dead - looks like the calls from the gpu were removed when __kmpc_parallel_51 was introduced

This revision is now accepted and ready to land.Oct 20 2021, 10:32 AM
This revision was landed with ongoing or failed builds.Oct 27 2021, 4:22 PM
This revision was automatically updated to reflect the committed changes.