Skip to content

Commit

Permalink
fix after -> before
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jul 31, 2024
1 parent 7137a78 commit a04d09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intermediate_source/pinmem_nonblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a04d09e

Please sign in to comment.