!13832 fix a bug that cuda error show wrong name in log

From: @hanhuifeng2020
Reviewed-by: @dylangeng,@anyrenwei
Signed-off-by: @anyrenwei
pull/13832/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 825ce95756

@ -205,7 +205,7 @@ inline bool CheckNullInput(std::vector<size_t> 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

Loading…
Cancel
Save