The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...

Go beyond using GPUs and learn what actually happens under the hood. This bundle takes you from building Linux DRM drivers and writing CUDA kernels in Rust to understanding GPU virtualization with KVM and QEMU. Packed with real code, practical examples and low-level implementation details, these books give you the knowledge to build, debug and work with modern GPU systems from the ground up.
Bought separately
$105
Minimum price
$59.00
$69.00
About the Bundle
This bundle brings together three practical books for developers and systems engineers who want to understand GPUs beyond the usual application-level programming.
Starting with Linux GPU drivers, you will learn how modern graphics hardware connects to the Linux kernel through DRM and how to build a real driver from the ground up. The second book moves into GPU computing with CUDA Rust, covering GPU kernels, memory, synchronization and performance while keeping Rust's safety and modern tooling at the center. The final book explores GPU virtualization with KVM and QEMU, showing how GPUs can be shared with virtual machines and how the underlying Linux and NVIDIA stack fits together.
Together, these books cover three important sides of modern GPU development: building the driver, writing the GPU code and making GPU hardware available in virtualized environments. The focus throughout is on real systems, working code and understanding what is happening under the hood rather than simply following high-level APIs.
About the Books
This book takes you from the fundamentals of GPU architecture and the Linux graphics stack all the way to designing, implementing, and debugging a complete Direct Rendering Manager driver for the Linux kernel. If you can write C and understand the basics of kernel modules, this book will teach you how to bridge the gap between graphics hardware and userspace applications through production-quality Linux kernel code. Every chapter builds on the previous one, progressing from a minimal loadable module to a fully functional DRM driver with memory management, command submission, synchronization, display support, and error recovery. Real code, real build instructions, no shortcuts.
GPU parallel computing has fundamentally changed how software achieves performance, but writing kernels has historically demanded deep expertise in low-level hardware details and C++ era programming patterns. This book shows Rust developers how to harness NVIDIA GPUs using CUDA Rust, the emerging ecosystem that brings memory safety, expressive type systems, and modern tooling to GPU programming.
You will learn both of NVIDIA's official CUDA Rust tracks: the SIMT-style cuda-oxide compiler backend for fine-grained thread-level control, and the tile-based cutile-rs framework for safe, high-level kernel authoring. Along the way, you will build a solid understanding of GPU architecture, memory hierarchies, synchronization, and performance optimization. Every chapter includes complete, runnable code examples and explains the why behind each concept, not just the how. This is a practical guide for Rust programmers ready to write production-quality GPU kernels without sacrificing the safety and clarity that make Rust compelling.
This book is a technically rigorous treatment of GPU virtualization on Linux, focused on the KVM/QEMU stack and the emerging virtio-nvgpu architecture for shared NVIDIA GPU access in virtual machines. It covers the complete technology stack from hardware fundamentals through production deployment, with working configurations, architecture diagrams and source code analysis drawn from upstream Linux kernel, QEMU and NVIDIA implementations. The audience is experienced systems engineers who need to understand not just how to deploy GPU virtualization, but how the entire stack works internally.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.