wangzy0327 opened a new issue, #14573:
URL: https://github.com/apache/tvm/issues/14573

   how to control the output level of log ?
   If I want to print only higher output level instead of LOG INFO , what can I 
do to set the log level config?
   below the code
   ```
   const std::vector<std::string> 
fwd_algo_names{"CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM",
                                                   
"CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM",
                                                   
"CUDNN_CONVOLUTION_FWD_ALGO_GEMM",
                                                   
"CUDNN_CONVOLUTION_FWD_ALGO_DIRECT",
                                                   
"CUDNN_CONVOLUTION_FWD_ALGO_FFT",
                                                   
"CUDNN_CONVOLUTION_FWD_ALGO_FFT_TILING",
                                                   
"CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD",
                                                   
"CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD_NONFUSED"};
   
     auto best_algo = perf_results[0].algo;
     LOG(INFO) << "\tCUDNN Found " << returned_algo_count << " fwd algorithms, 
choosing "
               << fwd_algo_names[best_algo];
     for (int i = 0; i < returned_algo_count; ++i) {
       LOG(INFO) << "\t\t" << i << ") " << fwd_algo_names[perf_results[i].algo]
                 << " - time: " << perf_results[i].time << " ms"
                 << ", Memory: " << perf_results[i].memory;
     }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to