summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/target_parallel_for_ast_print.cpp
diff options
context:
space:
mode:
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2019-05-06 18:19:15 +0000
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2019-05-06 18:19:15 +0000
commit1c40858fc28adb9b87e3f8f8bd5b4319defa9624 (patch)
tree2a06151ae9647e5aef344f6098584a13615818c3 /test/OpenMP/target_parallel_for_ast_print.cpp
parent336ca528612aa91867d963f22b4c3c6a6d61874f (diff)
[OpenMP][Clang] Support for target math functions
Summary: In this patch we propose a temporary solution to resolving math functions for the NVPTX toolchain, temporary until OpenMP variant is supported by Clang. We intercept the inclusion of math.h and cmath headers and if we are in the OpenMP-NVPTX case, we re-use CUDA's math function resolution mechanism. Authors: @gtbercea @jdoerfert Reviewers: hfinkel, caomhin, ABataev, tra Reviewed By: hfinkel, ABataev, tra Subscribers: mgorny, guansong, cfe-commits, jdoerfert Tags: #clang Differential Revision: https://reviews.llvm.org/D61399 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/target_parallel_for_ast_print.cpp')
0 files changed, 0 insertions, 0 deletions