Skip to content

Commit 05efd43

Browse files
committed
Automated tutorials push
1 parent 97ebc8d commit 05efd43

File tree

195 files changed

+13477
-13515
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+13477
-13515
lines changed

_downloads/562d6bd0e2a429f010fcf8007f6a7cac/pinmem_nonblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def pin_copy_to_device_nonblocking(*tensors):
547547

548548
i = -1
549549
for i in range(100):
550-
# Create a tensor in pin-memory
550+
# Create a tensor in pageable memory
551551
cpu_tensor = torch.ones(1024, 1024)
552552
torch.cuda.synchronize()
553553
# Send the tensor to CUDA

_downloads/6a760a243fcbf87fb3368be3d4d860ee/pinmem_nonblock.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@
758758
"source": [
759759
"i = -1\n",
760760
"for i in range(100):\n",
761-
" # Create a tensor in pin-memory\n",
761+
" # Create a tensor in pageable memory\n",
762762
" cpu_tensor = torch.ones(1024, 1024)\n",
763763
" torch.cuda.synchronize()\n",
764764
" # Send the tensor to CUDA\n",
30 Bytes
Loading
-484 Bytes
Loading

_images/sphx_glr_coding_ddpg_001.png

2.12 KB
Loading
-2.37 KB
Loading
139 Bytes
Loading
-46 Bytes
Loading
-20 Bytes
Loading
-62 Bytes
Loading

0 commit comments

Comments
 (0)