Browse Source

fix a bug that cuda error show wrong name in log

pull/13832/head
hanhuifeng2020 4 years ago
parent
commit
9629977242
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/runtime/device/gpu/gpu_common.h

+ 1
- 1
mindspore/ccsrc/runtime/device/gpu/gpu_common.h View File

@@ -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