[PATCH] D60907: [OpenMP][WIP] Add math functions support in OpenMP offloading
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 19 13:42:09 PDT 2019
jdoerfert added inline comments.
================
Comment at: include/clang/Driver/ToolChain.h:575
+ /// Add arguments to use system-specific CUDA includes.
+ virtual void AddMathDeviceFunctions(const llvm::opt::ArgList &DriverArgs,
----------------
Copy & Past comment
================
Comment at: lib/Headers/__clang_openmp_math.h:5
+
+#ifdef __NVPTX__
+#pragma omp declare target
----------------
Why is this NVPTX specific?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60907/new/
https://reviews.llvm.org/D60907
More information about the cfe-commits
mailing list