Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Oct 19, 2018
1 parent f2e202e commit 16a49e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DataFormats/Math/test/cudaAtan2Test.cu
Expand Up @@ -106,7 +106,7 @@ int main() {
int count = 0;
auto status = cudaGetDeviceCount(& count);
if (status != cudaSuccess) {
std::cerr << cudaGetErrorString(status) << ", the test will be skipped." << "\n";
std::cerr << "Failed to initialise the CUDA runtime, the test will be skipped." << "\n";
exit(EXIT_SUCCESS);
}
if (count == 0) {
Expand Down
2 changes: 1 addition & 1 deletion DataFormats/Math/test/cudaMathTest.cu
Expand Up @@ -208,7 +208,7 @@ int main() {
int count = 0;
auto status = cudaGetDeviceCount(& count);
if (status != cudaSuccess) {
std::cerr << cudaGetErrorString(status) << ", the test will be skipped." << "\n";
std::cerr << "Failed to initialise the CUDA runtime, the test will be skipped." << "\n";
exit(EXIT_SUCCESS);
}
if (count == 0) {
Expand Down

0 comments on commit 16a49e9

Please sign in to comment.