MCPcopy Create free account
hub / github.com/ROCm/rocPRIM / main

Function main

benchmark/benchmark_device_run_length_encode.cpp:43–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 executor.queue_instance(device_run_length_encode_benchmark<T, 1000>());
42
43int main(int argc, char* argv[])
44{
45 benchmark_utils::executor executor(argc, argv, 2 * benchmark_utils::GiB, 10, 10);
46
47#ifndef BENCHMARK_CONFIG_TUNING
48 // Tuned types
49 CREATE_BENCHMARK(rocprim::int128_t)
50 CREATE_BENCHMARK(int64_t)
51 CREATE_BENCHMARK(int32_t)
52 CREATE_BENCHMARK(int16_t)
53 CREATE_BENCHMARK(int8_t)
54 CREATE_BENCHMARK(double)
55 CREATE_BENCHMARK(float)
56 CREATE_BENCHMARK(rocprim::half)
57
58 #ifndef BENCHMARK_AUTOTUNED_TYPES_ONLY
59 // Not tuned types
60 CREATE_BENCHMARK(rocprim::uint128_t)
61
62 // Not tuned custom types
63 using custom_float2 = common::custom_type<float, float>;
64 using custom_double2 = common::custom_type<double, double>;
65
66 CREATE_BENCHMARK(custom_float2)
67 CREATE_BENCHMARK(custom_double2)
68 #endif
69#endif
70
71 executor.run();
72}

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected