Various minor cleanups from stashed commits:
* Testing/Performance: cleanup list of benchmark sweep invocations.
* Sorting: Fix comments and add note to stable_sort_large.cu test.
git-commit
git-author Bryce Adelstein Lelbach aka wash
[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24019076]
MODIFY
internal/benchmark/bench.cu
internal/benchmark/bench.cu
@@ -1170,16 +1170,11 @@ int main(int argc, char** argv)
//run_core_primitives_experiments< 1LLU << 22LLU , 4 , 16 >();
//run_core_primitives_experiments< 1LLU << 23LLU , 4 , 16 >();
run_core_primitives_experiments< 1LLU << 24LLU , 3 , 8 >();
-//run_core_primitives_experiments< 1LLU << 25LLU , 3 , 8 >();
-//run_core_primitives_experiments< 1LLU << 26LLU , 3 , 8 >();
-//run_core_primitives_experiments< 1LLU << 27LLU , 3 , 8 >();
-//run_core_primitives_experiments< 1LLU << 28LLU , 3 , 8 >();
-//run_core_primitives_experiments< 1LLU << 29LLU , 3 , 8 >();
-
run_core_primitives_experiments< 1LLU << 25LLU , 3 , 8 >();
//run_core_primitives_experiments< 1LLU << 26LLU , 3 , 8 >();
//run_core_primitives_experiments< 1LLU << 27LLU , 3 , 8 >();
//run_core_primitives_experiments< 1LLU << 28LLU , 3 , 8 >();
+//run_core_primitives_experiments< 1LLU << 29LLU , 3 , 8 >();
return 0;
}

MODIFY
testing/stable_sort_large.cu
testing/stable_sort_large.cu
#include <thrust/sort.h>
#include <thrust/functional.h>
+
template <typename T, unsigned int N>
void _TestStableSortWithLargeKeys(void)
{
@@ -27,6 +28,7 @@ void _TestStableSortWithLargeKeys(void)
thrust::host_vector< FixedVector<T,N> > h_keys(n);
for(size_t i = 0; i < n; i++)
+ // XXX Use proper random number generation facility.
h_keys[i] = FixedVector<T,N>(rand());
thrust::device_vector< FixedVector<T,N> > d_keys = h_keys;

MODIFY
thrust/system/cuda/detail/sort.h
thrust/system/cuda/detail/sort.h
@@ -1534,7 +1534,7 @@ namespace __radix_sort {
} // __radix_sort
//---------------------------------------------------------------------
-// Smart sort picks at runtime whether to dispatch radix or merge sort
+// Smart sort picks at compile-time whether to dispatch radix or merge sort
//---------------------------------------------------------------------
namespace __smart_sort {
@@ -1631,7 +1631,7 @@ namespace __smart_sort {
cuda_cub::copy(policy, keys.begin(), keys.end(), keys_first);
}
}
-}; // namespace __smart_sort
+} // namespace __smart_sort
//-------------------------

Various minor cleanups from stashed commits:
* Testing/Performance: cleanup list of benchmark sweep invocations.
* Sorting: Fix comments and add note to stable_sort_large.cu test.
git-commit 2c5ffb4ff539c2f4fc69cce2b627274b81716a63
git-author Bryce Adelstein Lelbach aka wash <brycelelbach@gmail.com>

[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24019076]