1*67e74705SXin Li // RUN: %clang --cuda-host-only -nocudainc -target i386-unknown-linux-gnu -x cuda -E -dM -o - /dev/null | FileCheck --check-prefix HOST %s 2*67e74705SXin Li // RUN: %clang --cuda-device-only -nocudainc -target i386-unknown-linux-gnu -x cuda -E -dM -o - /dev/null | FileCheck --check-prefix DEVICE-NOFAST %s 3*67e74705SXin Li // RUN: %clang -fcuda-approx-transcendentals --cuda-device-only -nocudainc -target i386-unknown-linux-gnu -x cuda -E -dM -o - /dev/null | FileCheck --check-prefix DEVICE-FAST %s 4*67e74705SXin Li // RUN: %clang -ffast-math --cuda-device-only -nocudainc -target i386-unknown-linux-gnu -x cuda -E -dM -o - /dev/null | FileCheck --check-prefix DEVICE-FAST %s 5*67e74705SXin Li 6*67e74705SXin Li // HOST-NOT: __CLANG_CUDA_APPROX_TRANSCENDENTALS__ 7*67e74705SXin Li // DEVICE-NOFAST-NOT: __CLANG_CUDA_APPROX_TRANSCENDENTALS__ 8*67e74705SXin Li // DEVICE-FAST: __CLANG_CUDA_APPROX_TRANSCENDENTALS__ 9