forked from OSchip/llvm-project
7f1e6fcff9
Due to recent changes we cannot use OpenMP in CUDA files anymore (PR45533) as the math handling of CUDA is different when _OPENMP is defined. We actually want this different behavior only if we are offloading with OpenMP to NVIDIA, thus generating NVPTX. With this patch we do not interfere with the CUDA math handling except if we are in NVPTX offloading mode, as indicated by the presence of __OPENMP_NVPTX__. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D78155 |
||
---|---|---|
.. | ||
__clang_openmp_device_functions.h | ||
cmath | ||
complex | ||
complex.h | ||
math.h | ||
new | ||
time.h |