Page MenuHomePhabricator

[OpenMP] Move header inclusion out of 'extern "C"'
ClosedPublic

Authored by Hahnfeld on Jul 12 2019, 3:25 AM.

Details

Summary

This leads to problems when compiling C++ code with libc++ for Nvidia GPUs
because Clang now uses wrappers for math functions that might include
C++ templates not allowed in 'extern "C"'.

Diff Detail

Event Timeline

Hahnfeld created this revision.Jul 12 2019, 3:25 AM
This revision is now accepted and ready to land.Jul 12 2019, 8:57 AM
Hahnfeld updated this revision to Diff 210098.Jul 16 2019, 8:00 AM

Rebase. (clever git even did the merge for me!)

Hahnfeld closed this revision.Jul 16 2019, 10:32 AM

Committed in rL366229 (but made a typo)