Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

cudamemcpy-tuner speeds pageable transfers on NVIDIA B300

AI summary

Developer Maknee released cudamemcpy-tuner, a tool intended to speed up pageable cudaMemcpy transfers, and linked its code and a blog post. In the developer’s benchmark, transferring a 1 GB tensor from CPU to GPU on an NVIDIA B300 rose from 10.2 GB/s to 51.5 GB/s when run through the tuner. The result is self-reported, and performance on other hardware and workloads is unknown.

https://preview.redd.it/cjz9xy3rht1i1.png?width=1600&format=png&auto=webp&s=0eea8a5d9e53d5ea4593ce1a629bc7342a049ffa Hi everyone, I made a tool that can speed up pageable transfers for cudaMemcpy. For example: # B300, copying a 1 GB tensor to the GPU and back: import time, torch x = torch.ones(1 << 30, dtype=torch.uint8) y = x.to("cuda"); y.cpu() for name, copy in [("CPU -> GPU", lambda: (x.to("cuda"), torch.cuda.synchronize()))]: t = time.perf_counter() for _ in range(5): copy() print(f"{name}: {5 * x.nbytes / (time.perf_counter() - t) / 1e9:.1f} GB/s") $ python bench.py CPU -> GPU: 10.2 GB/s $ cmt tune -- python bench.py CPU -> GPU: 51.5 GB/s blog: https://maknee.github.io/blog/2026/CudaMemcpy/ code: https://github.com/Maknee/cudamemcpy-tuner submitted by /u/makneeee [link] [comments]

#cudamemcpy-tuner#NVIDIA B300#CUDA#PyTorch

Original · 1 min readRead the original
Group chat

No comments yet. Start the conversation.