[PATCH] D47849: [OpenMP][Clang][NVPTX] Enable math functions called in an OpenMP NVPTX target device region to be resolved as device-native function calls
Gheorghe-Teodor Bercea via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 7 12:40:47 PDT 2018
gtbercea updated this revision to Diff 159574.
gtbercea added a comment.
Prevent math builtins from being used for nvptx toolchain.
Repository:
rC Clang
https://reviews.llvm.org/D47849
Files:
include/clang/Driver/ToolChain.h
lib/Driver/ToolChains/Clang.cpp
lib/Driver/ToolChains/Cuda.cpp
lib/Driver/ToolChains/Cuda.h
lib/Headers/CMakeLists.txt
lib/Headers/__clang_cuda_device_functions.h
lib/Headers/__clang_cuda_libdevice_declares.h
test/CodeGen/nvptx_device_math_functions.c
test/Driver/openmp-offload-gpu.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47849.159574.patch
Type: text/x-patch
Size: 54804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180807/6ab212af/attachment-0001.bin>
More information about the cfe-commits
mailing list