| 71 | BENCHMARK_TYPE_TUNING(VALUE_TYPE, int8_t) |
| 72 | |
| 73 | int main(int argc, char* argv[]) |
| 74 | { |
| 75 | benchmark_utils::executor executor(argc, argv, 128 * benchmark_utils::MiB, 10, 5); |
| 76 | |
| 77 | #ifndef BENCHMARK_CONFIG_TUNING |
| 78 | // Tuned types |
| 79 | BENCHMARK_TYPES_TUNING(rocprim::int128_t) |
| 80 | BENCHMARK_TYPES_TUNING(int64_t) |
| 81 | BENCHMARK_TYPES_TUNING(int) |
| 82 | BENCHMARK_TYPES_TUNING(short) |
| 83 | BENCHMARK_TYPES_TUNING(int8_t) |
| 84 | BENCHMARK_TYPES_TUNING(double) |
| 85 | BENCHMARK_TYPES_TUNING(float) |
| 86 | BENCHMARK_TYPES_TUNING(rocprim::half) |
| 87 | |
| 88 | #ifndef BENCHMARK_AUTOTUNED_TYPES_ONLY |
| 89 | // Not tuned types |
| 90 | BENCHMARK_TYPE(float) |
| 91 | BENCHMARK_TYPE(double) |
| 92 | BENCHMARK_TYPE(uint8_t) |
| 93 | BENCHMARK_TYPE(rocprim::half) |
| 94 | BENCHMARK_TYPE(rocprim::uint128_t) |
| 95 | |
| 96 | // Not tuned custom types |
| 97 | using custom_float2 = common::custom_type<float, float>; |
| 98 | using custom_double2 = common::custom_type<double, double>; |
| 99 | |
| 100 | BENCHMARK_TYPE(custom_float2) |
| 101 | BENCHMARK_TYPE(custom_double2) |
| 102 | #endif |
| 103 | #endif |
| 104 | |
| 105 | executor.run(); |
| 106 | } |