| 66 | } |
| 67 | |
| 68 | static void Writer_Buffered(benchmark::State& state) { |
| 69 | // 128MB |
| 70 | const int64_t kTotalBytes = 1 << 27; |
| 71 | |
| 72 | // 8MB |
| 73 | const int64_t kBufferSize = 1 << 23; |
| 74 | |
| 75 | CudaBufferWriterBenchmark(state, kTotalBytes, state.range(0), kBufferSize); |
| 76 | } |
| 77 | |
| 78 | static void Writer_Unbuffered(benchmark::State& state) { |
| 79 | // 128MB |
nothing calls this directly
no test coverage detected