brintos

brintos / llvm-project-archived public Read only

0
0
Text · 569 B · 26b93f0 Raw
10 lines · plain
1// Make sure we can process CUDA file even if driver creates multiple jobs2// RUN: c-index-test -test-load-source all %s | FileCheck %s -check-prefix=CHECK-ANY3// Make sure we process correct side of cuda compilation4// RUN: c-index-test -test-load-source all --cuda-host-only %s | FileCheck %s -check-prefix=CHECK-HOST5// RUN: c-index-test -test-load-source all --cuda-device-only %s | FileCheck %s -check-prefix=CHECK-DEVICE6 7// CHECK-ANY: macro definition=__cplusplus8// CHECK-HOST-NOT: macro definition=__CUDA_ARCH__9// CHECK-DEVICE: macro definition=__CUDA_ARCH__10