From 51a9342b8a9cd3d126fac0df39060b673eb8fef8 Mon Sep 17 00:00:00 2001 From: Georgy Evtushenko Date: Mon, 10 Apr 2023 14:53:32 +0400 Subject: [PATCH] Fix examples --- examples/exec_tag_sync.cu | 3 +++ examples/exec_tag_timer.cu | 1 + 2 files changed, 4 insertions(+) diff --git a/examples/exec_tag_sync.cu b/examples/exec_tag_sync.cu index 0ef4ee7..1366931 100644 --- a/examples/exec_tag_sync.cu +++ b/examples/exec_tag_sync.cu @@ -27,6 +27,9 @@ // Used to initialize input data: #include +// Used to run the benchmark on a CUDA stream +#include + // `sequence_bench` measures the execution time of `thrust::sequence`. Since // algorithms in `thrust::` implicitly sync the CUDA device, the // `nvbench::exec_tag::sync` must be passed to `state.exec(...)`. diff --git a/examples/exec_tag_timer.cu b/examples/exec_tag_timer.cu index 6aab858..812dda8 100644 --- a/examples/exec_tag_timer.cu +++ b/examples/exec_tag_timer.cu @@ -23,6 +23,7 @@ // Thrust simplifies memory management, etc: #include +#include #include #include