[Openmp-dev] Math symbols are not found during configuration

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Tue Jul 23 20:58:24 PDT 2019


Hi,
Adding the flag -fopenmp-targets=nvptx64 makes math symbols M_E and M_PI
defined in cmath not detected during the execution of CMake. How do I work
around this? I am using the latest trunk Clang at this moment, and without
the above flag, both symbols are detected properly.

Thanks,
Itaru.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20190724/06cd77b0/attachment.html>


More information about the Openmp-dev mailing list