]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Index/index-file.cu
Vendor import of clang release_40 branch r292951:
[FreeBSD/FreeBSD.git] / test / Index / index-file.cu
1 // Make sure we can process CUDA file even if driver creates multiple jobs
2 // RUN: c-index-test -test-load-source all %s | FileCheck %s -check-prefix=CHECK-ANY
3 // Make sure we process correct side of cuda compilation
4 // RUN: c-index-test -test-load-source all --cuda-host-only %s | FileCheck %s -check-prefix=CHECK-HOST
5 // RUN: c-index-test -test-load-source all --cuda-device-only %s | FileCheck %s -check-prefix=CHECK-DEVICE
6
7 // CHECK-ANY: macro definition=__cplusplus
8 // CHECK-HOST-NOT: macro definition=__CUDA_ARCH__
9 // CHECK-DEVICE: macro definition=__CUDA_ARCH__