An empty kernel launch for baseline
| 55 | |
| 56 | // An empty kernel launch for baseline |
| 57 | static void BM_kernel_launch(benchmark_utils::state&& state) |
| 58 | { |
| 59 | const auto& stream = state.stream; |
| 60 | |
| 61 | state.run( |
| 62 | [&] |
| 63 | { |
| 64 | empty_kernel<<<dim3(1), dim3(1), 0, stream>>>(); |
| 65 | HIP_CHECK(hipGetLastError()); |
| 66 | }); |
| 67 | |
| 68 | state.set_throughput(1, sizeof(char)); |
| 69 | } |
| 70 | |
| 71 | #define CREATE_BENCHMARK(ST, SK) \ |
| 72 | executor.queue_fn( \ |
nothing calls this directly
no test coverage detected