diff --git a/nvbench/exec_tag.cuh b/nvbench/exec_tag.cuh index 466a441..c935e4c 100644 --- a/nvbench/exec_tag.cuh +++ b/nvbench/exec_tag.cuh @@ -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