@@ -313,13 +313,13 @@ void launcher(int n,
313313
314314 raft::sparse::COO<value_t > in (stream, n * n_neighbors, n, n);
315315
316+ CUML_LOG_DEBUG (" Smooth kNN Distances" );
316317 // check for logging in order to avoid the potentially costly `arr2Str` call!
317- if (ML::default_logger ().should_log (ML::level_enum::debug)) {
318- CUML_LOG_DEBUG (" Smooth kNN Distances" );
318+ if (ML::default_logger ().should_log (ML::level_enum::trace)) {
319319 auto str = raft::arr2Str (sigmas.data (), 25 , " sigmas" , stream);
320- CUML_LOG_DEBUG (" %s" , str.c_str ());
320+ CUML_LOG_TRACE (" %s" , str.c_str ());
321321 str = raft::arr2Str (rhos.data (), 25 , " rhos" , stream);
322- CUML_LOG_DEBUG (" %s" , str.c_str ());
322+ CUML_LOG_TRACE (" %s" , str.c_str ());
323323 }
324324
325325 RAFT_CUDA_TRY (cudaPeekAtLastError ());
@@ -342,11 +342,11 @@ void launcher(int n,
342342 n_neighbors);
343343 RAFT_CUDA_TRY (cudaPeekAtLastError ());
344344
345- if ( ML::default_logger (). should_log (ML::level_enum::debug)) {
346- CUML_LOG_DEBUG ( " Compute Membership Strength " );
345+ CUML_LOG_DEBUG ( " Compute Membership Strength " );
346+ if ( ML::default_logger (). should_log (ML::level_enum::trace)) {
347347 std::stringstream ss;
348348 ss << in;
349- CUML_LOG_DEBUG (ss.str ().c_str ());
349+ CUML_LOG_TRACE (ss.str ().c_str ());
350350 }
351351
352352 /* *
0 commit comments