Skip to content

Commit 12d1b69

Browse files
author
Vincent Moens
authored
Update intermediate_source/pinmem_nonblock.py
1 parent 2f55eb8 commit 12d1b69

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

intermediate_source/pinmem_nonblock.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -718,11 +718,11 @@ def pin_copy_to_device_nonblocking(*tensors):
718718
#
719719
# .. _pinned_memory_resources:
720720
#
721-
# If you are dealing with issues with memory copies when using CUDA devices or want to learn more about
722-
# what was discussed in this tutorial, check the following references:
721+
# If you are dealing with issues with memory copies when using CUDA devices or want to learn more about
722+
# what was discussed in this tutorial, check the following references:
723723
#
724-
# - `CUDA toolkit memory management doc <https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__MEMORY.html>`_
725-
# - `CUDA pin-memory note <https://forums.developer.nvidia.com/t/pinned-memory/268474>`_
726-
# - `How to Optimize Data Transfers in CUDA C/C++ <https://developer.nvidia.com/blog/how-optimize-data-transfers-cuda-cc/>`_
727-
# - tensordict :meth:`~tensordict.TensorDict.to` method;
724+
# - `CUDA toolkit memory management doc <https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__MEMORY.html>`_;
725+
# - `CUDA pin-memory note <https://forums.developer.nvidia.com/t/pinned-memory/268474>`_;
726+
# - `How to Optimize Data Transfers in CUDA C/C++ <https://developer.nvidia.com/blog/how-optimize-data-transfers-cuda-cc/>`_;
727+
# - tensordict :meth:`~tensordict.TensorDict.to` method.
728728
#

0 commit comments

Comments
 (0)