summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2024-02-19 20:43:56 -0500
committerJoshua Bakita <bakitajoshua@gmail.com>2024-02-19 20:43:56 -0500
commitb158c5f30c25d1f6b0d5cc8f989eb6b6211a5360 (patch)
treeea9eaa928c0b9edcbe8d178f301f24b9f9965edb
parentcd9ee070e2fcaa49fe35944ea0fd60ed5d197ba2 (diff)
Support >4 GiB copy sizes in `mon_cross_ctx_copies`
-rw-r--r--copy_experiments/mon_cross_ctx_copies.cu4
1 files 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
55// Should each GPU-copy-monitoring thread check for GPU clock skew? 55// Should each GPU-copy-monitoring thread check for GPU clock skew?
56static const bool SKEW_CHECK = false; 56static const bool SKEW_CHECK = false;
57 57
58// Size of each copy to the GPU, in bytes 58// Size of each copy to the GPU, in bytes (64-bit, as copies may be > 4GiB)
59static unsigned int COPY_SIZE; 59static uint64_t COPY_SIZE;
60// GPU time offset. CPU time = GPU time - offset 60// GPU time offset. CPU time = GPU time - offset
61static uint64_t GPU_TIME_OFFSET; 61static uint64_t GPU_TIME_OFFSET;
62// Copy start barrier 62// Copy start barrier