From 9629977242ce6f93a6f57d5e12acffb06bc2055a Mon Sep 17 00:00:00 2001 From: hanhuifeng2020 Date: Tue, 23 Mar 2021 15:04:55 +0800 Subject: [PATCH] fix a bug that cuda error show wrong name in log --- mindspore/ccsrc/runtime/device/gpu/gpu_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/runtime/device/gpu/gpu_common.h b/mindspore/ccsrc/runtime/device/gpu/gpu_common.h index 116d30bfda..d72485be1b 100644 --- a/mindspore/ccsrc/runtime/device/gpu/gpu_common.h +++ b/mindspore/ccsrc/runtime/device/gpu/gpu_common.h @@ -205,7 +205,7 @@ inline bool CheckNullInput(std::vector input_shape) { { \ curandStatus_t status = (expression); \ if (status != CURAND_STATUS_SUCCESS) { \ - MS_LOG(EXCEPTION) << "CUAD curand Error: " << message << " | curandStatus: " << status; \ + MS_LOG(EXCEPTION) << "CUDA curand Error: " << message << " | curandStatus: " << status; \ } \ } } // namespace gpu