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

Function main

benchmark/benchmark_device_partial_sort_copy.cpp:47–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47int main(int argc, char* argv[])
48{
49 benchmark_utils::executor executor(argc, argv, 128 * benchmark_utils::MiB, 10, 5);
50
51 CREATE_BENCHMARK(int)
52 CREATE_BENCHMARK(long long)
53 CREATE_BENCHMARK(int8_t)
54 CREATE_BENCHMARK(uint8_t)
55 CREATE_BENCHMARK(rocprim::half)
56 CREATE_BENCHMARK(short)
57 CREATE_BENCHMARK(float)
58 CREATE_BENCHMARK(rocprim::int128_t)
59 CREATE_BENCHMARK(rocprim::uint128_t)
60
61 using custom_float2 = common::custom_type<float, float>;
62 using custom_double2 = common::custom_type<double, double>;
63 using custom_int2 = common::custom_type<int, int>;
64 using custom_char_double = common::custom_type<char, double>;
65 using custom_longlong_double = common::custom_type<long long, double>;
66
67 CREATE_BENCHMARK(custom_float2)
68 CREATE_BENCHMARK(custom_double2)
69 CREATE_BENCHMARK(custom_int2)
70 CREATE_BENCHMARK(custom_char_double)
71 CREATE_BENCHMARK(custom_longlong_double)
72
73 executor.run();
74}

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected