From 53156c986eb84140571c9e9b5a8331545d865a0d Mon Sep 17 00:00:00 2001 From: sperlingxx Date: Thu, 14 Apr 2022 10:01:17 +0800 Subject: [PATCH] fix --- cpp/include/cudf/utilities/error.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/include/cudf/utilities/error.hpp b/cpp/include/cudf/utilities/error.hpp index 9cff693e375..8f6190bbaf7 100644 --- a/cpp/include/cudf/utilities/error.hpp +++ b/cpp/include/cudf/utilities/error.hpp @@ -121,7 +121,7 @@ inline void throw_cuda_error(cudaError_t error, const char* file, unsigned int l auto const msg = std::string{"CUDA error encountered at: " + std::string{file} + ":" + std::to_string(line) + ": " + std::to_string(error) + " " + cudaGetErrorName(error) + " " + cudaGetErrorString(error)}; - // Call cudaDeviceSynchronize to ensure `last` did not result from an asynchronous error. + // Call cudaDeviceSynchronize to ensure `last` did not result from an asynchronous error. // between two calls. if (error == last && last == cudaDeviceSynchronize()) { throw fatal_cuda_error{"Fatal " + msg, error};