diff options
Diffstat (limited to 'Tests/CudaOnly/WithDefs/main.notcu')
-rw-r--r-- | Tests/CudaOnly/WithDefs/main.notcu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CudaOnly/WithDefs/main.notcu b/Tests/CudaOnly/WithDefs/main.notcu index 6b02bbc..33a49d2 100644 --- a/Tests/CudaOnly/WithDefs/main.notcu +++ b/Tests/CudaOnly/WithDefs/main.notcu @@ -40,6 +40,7 @@ int main(int argc, char **argv) err = cudaGetDeviceCount(&nDevices); if(err != cudaSuccess) { + std::cerr << cudaGetErrorString(err) << std::endl; return 1; } return 0; |