diff options
Diffstat (limited to 'Tests/CudaOnly/Architecture/main.cu')
-rw-r--r-- | Tests/CudaOnly/Architecture/main.cu | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CudaOnly/Architecture/main.cu b/Tests/CudaOnly/Architecture/main.cu new file mode 100644 index 0000000..8c817d5 --- /dev/null +++ b/Tests/CudaOnly/Architecture/main.cu @@ -0,0 +1,9 @@ +#ifdef __CUDA_ARCH__ +# if __CUDA_ARCH__ != 520 +# error "Passed architecture 52, but got something else." +# endif +#endif + +int main() +{ +} |