[Openmp-dev] Math symbols are not found during configuration
Itaru Kitayama via Openmp-dev
openmp-dev at lists.llvm.org
Thu Jul 25 05:34:16 PDT 2019
#include <cmath>
#include <iostream>
int main()
{
std::cout << NAN << std::endl;
};
This gives you a build error when compiled with -fopenmp-targets=nvptx64,
but not without it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20190725/2d398077/attachment.html>
More information about the Openmp-dev
mailing list