From 0c02e0b77b2277a9b7e921dd584d2f3ab0b18120 Mon Sep 17 00:00:00 2001 From: ZPaC Date: Wed, 25 Nov 2020 10:48:47 +0800 Subject: [PATCH] Optimize log level to DEBUG in array reduce gpu kernel --- .../kernel_compiler/gpu/arrays/array_reduce_gpu_kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/array_reduce_gpu_kernel.h b/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/array_reduce_gpu_kernel.h index 09df5021b58..f82ec1f5564 100644 --- a/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/array_reduce_gpu_kernel.h +++ b/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/array_reduce_gpu_kernel.h @@ -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(stream_ptr)),