summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/CompileFlags/main.cu
blob: 999c0562a30f498438030e9e616ec78e09ac14c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifdef __CUDA_ARCH__
#  if __CUDA_ARCH__ != 500
#    error "Passed architecture 50, but got something else."
#  endif
#endif

#ifndef ALWAYS_DEFINE
#  error "ALWAYS_DEFINE not defined!"
#endif

int main()
{
}