diff options
author | Joshua Bakita <bakitajoshua@gmail.com> | 2024-02-19 20:43:56 -0500 |
---|---|---|
committer | Joshua Bakita <bakitajoshua@gmail.com> | 2024-02-19 20:43:56 -0500 |
commit | b158c5f30c25d1f6b0d5cc8f989eb6b6211a5360 (patch) | |
tree | ea9eaa928c0b9edcbe8d178f301f24b9f9965edb | |
parent | cd9ee070e2fcaa49fe35944ea0fd60ed5d197ba2 (diff) |
Support >4 GiB copy sizes in `mon_cross_ctx_copies`
-rw-r--r-- | copy_experiments/mon_cross_ctx_copies.cu | 4 |
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? |
56 | static const bool SKEW_CHECK = false; | 56 | static 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) |
59 | static unsigned int COPY_SIZE; | 59 | static uint64_t COPY_SIZE; |
60 | // GPU time offset. CPU time = GPU time - offset | 60 | // GPU time offset. CPU time = GPU time - offset |
61 | static uint64_t GPU_TIME_OFFSET; | 61 | static uint64_t GPU_TIME_OFFSET; |
62 | // Copy start barrier | 62 | // Copy start barrier |