From 2699952f4bec8d51bbc3695ba23ee71878cc987d Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Thu, 6 Feb 2025 10:11:23 +0100 Subject: [PATCH] Fix defaulting tunings for multi.range --- .../dispatch/tuning/tuning_histogram.cuh | 30 ++++++++----------- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/cub/cub/device/dispatch/tuning/tuning_histogram.cuh b/cub/cub/device/dispatch/tuning/tuning_histogram.cuh index 6de73f4f801..d654ba72524 100644 --- a/cub/cub/device/dispatch/tuning/tuning_histogram.cuh +++ b/cub/cub/device/dispatch/tuning/tuning_histogram.cuh @@ -225,15 +225,15 @@ struct sm100_tuning<1, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, s static constexpr int vec_size = 1 << 0; }; -// same as base +// same as SM90 // template // struct sm100_tuning<1, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_2> {}; -// same as base +// same as SM90 // template // struct sm100_tuning<1, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_4> {}; -// same as base +// same as SM90 // template // struct sm100_tuning<1, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_8> {}; @@ -252,23 +252,17 @@ struct sm100_tuning<0, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, s static constexpr int vec_size = 1 << 1; }; -// same as base -template -struct sm100_tuning<0, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_2> - : sm90_tuning -{}; +// same as SM90 +// template +// struct sm100_tuning<0, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_2> {}; -// same as base -template -struct sm100_tuning<0, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_4> - : sm90_tuning -{}; +// same as SM90 +// template +// struct sm100_tuning<0, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_4> {}; -// same as base -template -struct sm100_tuning<0, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_8> - : sm90_tuning -{}; +// same as SM90 +// template +// struct sm100_tuning<0, SampleT, 4, 3, counter_size::_4, primitive_sample::yes, sample_size::_8> {}; template struct policy_hub