mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user