[Openmp-dev] Math symbols are not found during configuration
Doerfert, Johannes via Openmp-dev
openmp-dev at lists.llvm.org
Wed Jul 24 12:25:03 PDT 2019
Hi Itaru,
For now, you need to define them yourself when you need them in the target region.
We are working on a permanent solution.
Thanks,
Johannes
________________________________________
From: Openmp-dev <openmp-dev-bounces at lists.llvm.org> on behalf of Itaru Kitayama via Openmp-dev <openmp-dev at lists.llvm.org>
Sent: Tuesday, July 23, 2019 22:58
To: openmp-dev at lists.llvm.org
Subject: [Openmp-dev] Math symbols are not found during configuration
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.
More information about the Openmp-dev
mailing list