From b158c5f30c25d1f6b0d5cc8f989eb6b6211a5360 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Mon, 19 Feb 2024 20:43:56 -0500 Subject: Support >4 GiB copy sizes in `mon_cross_ctx_copies` --- copy_experiments/mon_cross_ctx_copies.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copy_experiments/mon_cross_ctx_copies.cu b/copy_experiments/mon_cross_ctx_copies.cu index 93d0e4c..2912aec 100644 --- a/copy_experiments/mon_cross_ctx_copies.cu +++ b/copy_experiments/mon_cross_ctx_copies.cu @@ -55,8 +55,8 @@ static const struct timespec DELAY_TIME = {0, 50*1000l*1000l}; // 50ms (use 30ms // Should each GPU-copy-monitoring thread check for GPU clock skew? static const bool SKEW_CHECK = false; -// Size of each copy to the GPU, in bytes -static unsigned int COPY_SIZE; +// Size of each copy to the GPU, in bytes (64-bit, as copies may be > 4GiB) +static uint64_t COPY_SIZE; // GPU time offset. CPU time = GPU time - offset static uint64_t GPU_TIME_OFFSET; // Copy start barrier -- cgit v1.2.2