From cea28f911ec53099cac1b48706aed65cadf3a552 Mon Sep 17 00:00:00 2001 From: GdoongMathew Date: Sat, 15 Mar 2025 17:41:13 +0800 Subject: [PATCH] docs/fix pageable memory description in `Other copy directions`. --- intermediate_source/pinmem_nonblock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intermediate_source/pinmem_nonblock.py b/intermediate_source/pinmem_nonblock.py index 14d178ab882..4d82a06a989 100644 --- a/intermediate_source/pinmem_nonblock.py +++ b/intermediate_source/pinmem_nonblock.py @@ -547,7 +547,7 @@ def pin_copy_to_device_nonblocking(*tensors): i = -1 for i in range(100): - # Create a tensor in pin-memory + # Create a tensor in pageable memory cpu_tensor = torch.ones(1024, 1024) torch.cuda.synchronize() # Send the tensor to CUDA