Browse Source

!8991 Optimize log level to DEBUG in array reduce gpu kernel

From: @zpac
Reviewed-by: @cristoval,@kisnwang
Signed-off-by: @cristoval
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
38f647e122
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/array_reduce_gpu_kernel.h

+ 1
- 1
mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/array_reduce_gpu_kernel.h View File

@@ -54,7 +54,7 @@ class ArrayReduceGpuKernel : public GpuKernel {
const float alpha = 1;
const float beta = 0;
if (all_match_) {
MS_LOG(WARNING)
MS_LOG(DEBUG)
<< "The corresponding dimensions of the input and output tensors all match. No need to call cuDNN kernel.";
CHECK_CUDA_RET_WITH_EXCEPT(cudaMemcpyAsync(output_addr, input_addr, inputs[0]->size, cudaMemcpyDeviceToDevice,
reinterpret_cast<cudaStream_t>(stream_ptr)),


Loading…
Cancel
Save