summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/Complex/dynamic.cu
diff options
context:
space:
mode:
authorPierre Moreau <dev@pmoreau.org>2017-02-02 22:22:16 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-10 18:46:06 (GMT)
commiteebb2be8b0db17bb5f760e7fa04c020406e6f6eb (patch)
tree06c86c0cef60bf04220979803e134088b40aca7e /Tests/Cuda/Complex/dynamic.cu
parent84f3c87b030037646c1110b1e4237f597ad3dd88 (diff)
downloadCMake-eebb2be8b0db17bb5f760e7fa04c020406e6f6eb.zip
CMake-eebb2be8b0db17bb5f760e7fa04c020406e6f6eb.tar.gz
CMake-eebb2be8b0db17bb5f760e7fa04c020406e6f6eb.tar.bz2
Tests/Cuda: Add identifiers to error messages
Diffstat (limited to 'Tests/Cuda/Complex/dynamic.cu')
-rw-r--r--Tests/Cuda/Complex/dynamic.cu3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Cuda/Complex/dynamic.cu b/Tests/Cuda/Complex/dynamic.cu
index b0a27d4..fc22c8b 100644
--- a/Tests/Cuda/Complex/dynamic.cu
+++ b/Tests/Cuda/Complex/dynamic.cu
@@ -28,6 +28,7 @@ EXPORT void cuda_dynamic_lib_func()
cudaError_t err = cudaGetLastError();
if(err != cudaSuccess)
{
- std::cerr << cudaGetErrorString(err) << std::endl;
+ std::cerr << "DetermineIfValidCudaDevice [SYNC] failed: "
+ << cudaGetErrorString(err) << std::endl;
}
}