From a04d09e8e6b3654e18427e27534da8cdd91db909 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Wed, 31 Jul 2024 18:45:59 -0400 Subject: [PATCH] fix after -> before --- intermediate_source/pinmem_nonblock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intermediate_source/pinmem_nonblock.py b/intermediate_source/pinmem_nonblock.py index 78e57b6cf1..fa69507a0e 100644 --- a/intermediate_source/pinmem_nonblock.py +++ b/intermediate_source/pinmem_nonblock.py @@ -556,7 +556,7 @@ def pin_copy_to_device_nonblocking(*tensors): # CUDA-enabled device. # # In summary, copying data from CPU to GPU is safe when using ``non_blocking=True``, but for any other direction, -# ``non_blocking=True`` can still be used but the user must make sure that a device synchronization is executed after +# ``non_blocking=True`` can still be used but the user must make sure that a device synchronization is executed before # the data is accessed. # # Practical recommendations