| 171 | BENCHMARK_TYPE_128(histogram_sort_t, "using_sort", rocprim::uint128_t, 256) |
| 172 | |
| 173 | int main(int argc, char* argv[]) |
| 174 | { |
| 175 | benchmark_utils::executor executor(argc, argv, 512 * benchmark_utils::MiB, 1, 0); |
| 176 | |
| 177 | #ifndef BENCHMARK_CONFIG_TUNING |
| 178 | using histogram_atomic_t = histogram<rocprim::block_histogram_algorithm::using_atomic>; |
| 179 | using histogram_sort_t = histogram<rocprim::block_histogram_algorithm::using_sort>; |
| 180 | |
| 181 | BENCHMARK_ATOMIC() |
| 182 | BENCHMARK_SORT() |
| 183 | #endif |
| 184 | |
| 185 | executor.run(); |
| 186 | } |