Merge pull request #146 from gevtushenko/trials

No batch tag
This commit is contained in:
Georgii Evtushenko
2023-11-02 22:11:37 +04:00
committed by GitHub

View File

@@ -38,8 +38,8 @@ enum class exec_flag
modifier_mask = timer | no_block | sync | run_once,
// Measurement types:
cold = 0x0100, // measure_hot
hot = 0x0200, // measure_cold
cold = 0x0100, // measure_cold
hot = 0x0200, // measure_hot
measure_mask = cold | hot
};
@@ -122,4 +122,7 @@ constexpr inline auto timer = nvbench::exec_tag::impl::timer;
/// synchronizations. Without this flag such benchmarks will deadlock.
constexpr inline auto sync = nvbench::exec_tag::impl::no_block | nvbench::exec_tag::impl::sync;
/// Modifier used to indicate that batched measurements should be disabled
constexpr inline auto no_batch = nvbench::exec_tag::impl::cold;
} // namespace nvbench::exec_tag