Skip to content

Commit a04d09e

Browse files
author
Vincent Moens
committed
fix after -> before
1 parent 7137a78 commit a04d09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intermediate_source/pinmem_nonblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def pin_copy_to_device_nonblocking(*tensors):
556556
# CUDA-enabled device.
557557
#
558558
# In summary, copying data from CPU to GPU is safe when using ``non_blocking=True``, but for any other direction,
559-
# ``non_blocking=True`` can still be used but the user must make sure that a device synchronization is executed after
559+
# ``non_blocking=True`` can still be used but the user must make sure that a device synchronization is executed before
560560
# the data is accessed.
561561
#
562562
# Practical recommendations

0 commit comments

Comments
 (0)