From d90826c1cc5f03fdc0aaef5bf20c57aec6556940 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Mon, 19 Feb 2024 20:53:09 -0500 Subject: Always synchronize GPU and CPU time in the current process Performing the synchronization in a child process was fragile, high-overhead, and unnecessary for our use cases. --- copy_experiments/mon_cross_ctx_copies.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'copy_experiments') diff --git a/copy_experiments/mon_cross_ctx_copies.cu b/copy_experiments/mon_cross_ctx_copies.cu index 2912aec..e836179 100644 --- a/copy_experiments/mon_cross_ctx_copies.cu +++ b/copy_experiments/mon_cross_ctx_copies.cu @@ -1,4 +1,4 @@ -/* Copyright 2022 Joshua Bakita +/* Copyright 2024 Joshua Bakita * Starts two copies of configurable size in seperate contexts at the same time * (by default) and logs the times that pages are copied to the GPU. Supports * monitoring copy progress from either the GPU or the CPU. All output times are @@ -12,7 +12,7 @@ WARNING: By default, assumes that GPU and CPU clocks tick at the same rate. * */ #include "copy_testbench.h" -#include "../task_host_utilities.cu" // Just for GetHostDeviceTimeOffset() +#include "../task_host_utilities.cu" #include #include #include -- cgit v1.2.2