@@ -965,7 +965,7 @@ struct DispatchRadixSort
965965 }
966966
967967// Log single_tile_kernel configuration
968- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
968+ #ifdef CUB_DEBUG_LOG
969969 _CubLog (" Invoking single_tile_kernel<<<%d, %d, 0, %lld>>>(), %d items per thread, %d SM occupancy, current bit "
970970 " %d, bit_grain %d\n " ,
971971 1 ,
@@ -1036,7 +1036,7 @@ struct DispatchRadixSort
10361036 int pass_bits = CUB_MIN (pass_config.radix_bits , (end_bit - current_bit));
10371037
10381038// Log upsweep_kernel configuration
1039- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
1039+ #ifdef CUB_DEBUG_LOG
10401040 _CubLog (" Invoking upsweep_kernel<<<%d, %d, 0, %lld>>>(), %d items per thread, %d SM occupancy, current bit %d, "
10411041 " bit_grain %d\n " ,
10421042 pass_config.even_share .grid_size ,
@@ -1078,7 +1078,7 @@ struct DispatchRadixSort
10781078 }
10791079
10801080// Log scan_kernel configuration
1081- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
1081+ #ifdef CUB_DEBUG_LOG
10821082 _CubLog (" Invoking scan_kernel<<<%d, %d, 0, %lld>>>(), %d items per thread\n " ,
10831083 1 ,
10841084 pass_config.scan_config .block_threads ,
@@ -1105,7 +1105,7 @@ struct DispatchRadixSort
11051105 }
11061106
11071107// Log downsweep_kernel configuration
1108- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
1108+ #ifdef CUB_DEBUG_LOG
11091109 _CubLog (" Invoking downsweep_kernel<<<%d, %d, 0, %lld>>>(), %d items per thread, %d SM occupancy\n " ,
11101110 pass_config.even_share .grid_size ,
11111111 pass_config.downsweep_config .block_threads ,
@@ -1305,7 +1305,7 @@ struct DispatchRadixSort
13051305 }
13061306
13071307// log histogram_kernel configuration
1308- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
1308+ #ifdef CUB_DEBUG_LOG
13091309 _CubLog (" Invoking histogram_kernel<<<%d, %d, 0, %lld>>>(), %d items per iteration, "
13101310 " %d SM occupancy, bit_grain %d\n " ,
13111311 histo_blocks_per_sm * num_sms,
@@ -1335,7 +1335,7 @@ struct DispatchRadixSort
13351335 constexpr int SCAN_BLOCK_THREADS = ActivePolicyT::ExclusiveSumPolicy::BLOCK_THREADS;
13361336
13371337// log exclusive_sum_kernel configuration
1338- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
1338+ #ifdef CUB_DEBUG_LOG
13391339 _CubLog (" Invoking exclusive_sum_kernel<<<%d, %d, 0, %lld>>>(), bit_grain %d\n " ,
13401340 num_passes,
13411341 SCAN_BLOCK_THREADS,
@@ -1383,7 +1383,7 @@ struct DispatchRadixSort
13831383 }
13841384
13851385// log onesweep_kernel configuration
1386- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
1386+ #ifdef CUB_DEBUG_LOG
13871387 _CubLog (" Invoking onesweep_kernel<<<%d, %d, 0, %lld>>>(), %d items per thread, "
13881388 " current bit %d, bit_grain %d, portion %d/%d\n " ,
13891389 num_blocks,
@@ -1672,7 +1672,7 @@ struct DispatchRadixSort
16721672 }
16731673
16741674// Copy keys
1675- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
1675+ #ifdef CUB_DEBUG_LOG
16761676 _CubLog (" Invoking async copy of %lld keys on stream %lld\n " , (long long ) num_items, (long long ) stream);
16771677#endif
16781678 cudaError_t error = cudaSuccess;
@@ -1694,7 +1694,7 @@ struct DispatchRadixSort
16941694 // Copy values if necessary
16951695 if (!KEYS_ONLY)
16961696 {
1697- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
1697+ #ifdef CUB_DEBUG_LOG
16981698 _CubLog (" Invoking async copy of %lld values on stream %lld\n " , (long long ) num_items, (long long ) stream);
16991699#endif
17001700 error = CubDebug (cudaMemcpyAsync (
@@ -2001,7 +2001,7 @@ struct DispatchSegmentedRadixSort
20012001 int pass_bits = CUB_MIN (pass_config.radix_bits , (end_bit - current_bit));
20022002
20032003// Log kernel configuration
2004- #ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
2004+ #ifdef CUB_DEBUG_LOG
20052005 _CubLog (" Invoking segmented_kernels<<<%lld, %lld, 0, %lld>>>(), "
20062006 " %lld items per thread, %lld SM occupancy, "
20072007 " current bit %d, bit_grain %d\n " ,
0 commit comments