forked from OSchip/llvm-project
1e28a668bc
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 llvm-svn: 360063 |
||
---|---|---|
.. | ||
Inputs | ||
altivec-header.c | ||
altivec-intrin.c | ||
arm-acle-header.c | ||
arm-fp16-header.c | ||
arm-neon-header.c | ||
arm64-apple-ios-types.cpp | ||
c11.c | ||
c89.c | ||
cpuid.c | ||
cxx11.cpp | ||
float-darwin.c | ||
float.c | ||
float16.c | ||
htm-header.c | ||
int64-type.c | ||
limits.cpp | ||
max_align.c | ||
mm3dnow.c | ||
ms-arm64-intrin.cpp | ||
ms-cppoperkey.cpp | ||
ms-cppoperkey1.cpp | ||
ms-cppoperkey2.cpp | ||
ms-intrin.cpp | ||
ms-null-ms-header-vs-stddef.cpp | ||
ms-wchar.c | ||
nvptx_device_cmath_functions.c | ||
nvptx_device_cmath_functions.cpp | ||
nvptx_device_math_functions.c | ||
nvptx_device_math_functions.cpp | ||
opencl-c-header.cl | ||
pconfigintin.c | ||
pmmintrin.c | ||
ppc-intrinsics.c | ||
sgxintrin.c | ||
stdarg-gnuc_va_list.c | ||
stdarg.cpp | ||
stdatomic.c | ||
stdbool.cpp | ||
stddefneeds.cpp | ||
stdint-typeof-MINMAX.cpp | ||
tgmath-darwin.c | ||
tgmath.c | ||
thumbv7-apple-ios-types.cpp | ||
typedef_guards.c | ||
unwind.c | ||
wchar_limits.cpp | ||
wmmintrin.c | ||
x86-intrinsics-headers-clean.cpp | ||
x86-intrinsics-headers.c | ||
x86_64-apple-macosx-types.cpp | ||
x86intrin-2.c | ||
x86intrin.c | ||
x86intrin.cpp | ||
xmmintrin.c |