This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Adjust arguments of nvptx runtime functions
ClosedPublic

Authored by Hahnfeld on Nov 22 2017, 6:33 AM.

Details

Summary

In the future the compiler will analyze whether the OpenMP
runtime needs to be (fully) initialized and avoid that overhead
if possible. The functions already take an argument to transfer
that information to the runtime, so pass in the default value 1.
(This is needed for binary compatibility with libomptarget-nvptx
currently being upstreamed.)

Diff Detail

Repository
rL LLVM

Event Timeline

Hahnfeld created this revision.Nov 22 2017, 6:33 AM
This revision is now accepted and ready to land.Nov 22 2017, 6:37 AM
This revision was automatically updated to reflect the committed changes.