This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget][nvptx][nfc] Move target_impl functions out of header
ClosedPublic

Authored by JonChesterfield on Jan 14 2021, 2:56 PM.

Details

Summary

[libomptarget][nvptx][nfc] Move target_impl functions out of header

This removes most of the differences between the two target_impl.h.

Also change name mangling from C to C++ for __kmpc_impl_*_lock.

Diff Detail

Event Timeline

JonChesterfield requested review of this revision.Jan 14 2021, 2:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2021, 2:56 PM
This revision is now accepted and ready to land.Jan 14 2021, 4:09 PM
tianshilei1992 added inline comments.Jan 14 2021, 4:11 PM
openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu
59

I'd not have a blank line here.

This revision was landed with ongoing or failed builds.Jan 14 2021, 4:20 PM
This revision was automatically updated to reflect the committed changes.