Go to the documentation of this file.
23 #ifndef __CLANG_OPENMP_MATH_H__
24 #define __CLANG_OPENMP_MATH_H__
27 #error "This file is for OpenMP compilation only."
30 #include_next <math.h>
40 #pragma omp begin declare variant match( \
41 device = {arch(nvptx, nvptx64)}, implementation = {extension(match_any)})
44 #define __OPENMP_NVPTX__
46 #undef __OPENMP_NVPTX__
49 #pragma omp end declare variant
52 #pragma omp begin declare variant match(device = {arch(amdgcn)})
54 #define __OPENMP_AMDGCN__
56 #undef __OPENMP_AMDGCN__
58 #pragma omp end declare variant