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

Function main

benchmark/benchmark_config_dispatch.cpp:76–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 BM_host_target_arch<SK>);
75
76int main(int argc, char** argv)
77{
78 benchmark_utils::executor executor(argc, argv, 128 * benchmark_utils::MiB, 1, 0, true, 100);
79
80 CREATE_BENCHMARK(default_stream, stream_kind::default_stream)
81 CREATE_BENCHMARK(per_thread_stream, stream_kind::per_thread_stream)
82 CREATE_BENCHMARK(explicit_stream, stream_kind::explicit_stream)
83 CREATE_BENCHMARK(async_stream, stream_kind::async_stream)
84
85 executor.queue_fn(
86 bench_naming::format_name("{lvl:na,algo:empty_kernel,cfg:default_config}").c_str(),
87 BM_kernel_launch);
88
89 executor.run();
90}

Callers

nothing calls this directly

Calls 2

queue_fnMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected