Skip to content

Commit 0c7bb1a

Browse files
GdoongMathewvmoens
andauthored
docs/fix pageable memory description in Other copy directions. (#3292)
Co-authored-by: Vincent Moens <[email protected]>
1 parent b090df7 commit 0c7bb1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intermediate_source/pinmem_nonblock.py

+1-1
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

0 commit comments

Comments
 (0)