CUDA for LLMs: Building fast transformer kernels
From $59.49 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $55.99 at 1,000+
Format
The more copies, the less each one costs
Applied automatically in your cart. No code needed.
Turn this order into a program
Groups that order together often pair the copies with something more. We handle the extras so you don't have to.
Branded cover stickers on paperbacks from 100 copies, plus bookplates, inserts and belly bands. Your specialist confirms what fits your title.
Customization options Ship to every readerOne address, many sites or individual recipients' homes, in the US and abroad.
Fulfillment options Pair it with a branded journalJournals with your logo or each reader's name, for the same group.
Branded journalsBookPal is partnering with Talezo to help you find and book authors, speakers and performers for your event.
BookPal × TalezoCUDA for LLMs
“A fundamental guide for CUDA and modern GPU architecture and their application in the field of AI.”
—Bryce Adelstein Lelbach, NVIDIA
The difference between a model that infers in milliseconds instead of seconds, or one that trains in days instead of weeks, is in how effectively you use your hardware. To squeeze every last teraflop out of an NVIDIA GPU, you need to write your own CUDA kernels, and this book will get you there! This book is a friendly hands-on tour of the modern GPU programming stack, written for the latest NVIDIA hardware, and grounded in fundamentals that will outlast any single generation of chips. In 408 fully-illustrated, code-rich pages, author Elliot Arledge guides you from your first kernel all the way to Flash Attention, tensor cores, and multi-GPU distributed training.
GPU programming is complicated, so this book builds your skills one layer at a time using a six-level kernel optimization stack. You’ll start by writing a vector addition kernel, learning how grids, blocks, and threads map onto real hardware. From there, you’ll implement the naive versions of the kernels every deep learning model depends on: GEMM, softmax, 1D and 2D convolution, max pooling, and matrix transpose. Then you’ll build and train a full neural network in six progressively faster implementations and dig into cuBLAS, with backpropagation derived and coded from scratch.
Throughout this book, your focus will stay on real optimization work. You’ll port a transformer to CUDA inference and attack each kernel in turn. Your GEMV decoder gets coalesced access, block-level reduction, and vectorization. Softmax becomes online, warp-shuffled, and fused. GEMM progresses through thread remapping, shared memory tiling, 1D and 2D blocktiling, and vectorized loads. Every optimization is profiled, and every profile is explained.
The final chapters take you to the frontier. You’ll program tensor cores using the WMMA and WGMMA instruction sets for Hopper hardware and see how manual tiling gets replaced by hardware-managed data movement. You’ll implement Flash Attention with tiling and online softmax, quantize models, and explore scaling up to 16 GPUs with tensor and pipeline parallelism over NCCL. By the end, you’ll have both a portfolio of more than 50 working kernels and the mental models to write new ones for hardware that doesn’t exist yet.
What's inside
• CUDA and GPU programming from the ground up
• Tensor and pipeline parallelism across multiple GPUs
• PyTorch C++ extensions for shipping custom kernels
About the reader
For software and AI engineers comfortable with C/C++. No prior CUDA experience required.
About the author
Elliot Arledge is a GPU performance engineer and educator. Every kernel in this book comes from his workflow of writing, profiling, and verifying CUDA on both consumer and datacenter hardware. He created freeCodeCamp’s 12-hour CUDA course and consults on deep learning performance.
Details
- Publisher
- Manning
- Author
- Elliot Arledge
- Format
- Paperback
- Published
- Dec 1, 2026
- ISBN-13
- 9781633434899
- ISBN-10
- 1633434893
- Pages
- 408
- Language
- English
CUDA for LLMs for groups: pricing
Volume pricing applies automatically in your cart. No codes, no account needed.
| Copies | Price per copy | You save |
|---|---|---|
| 25 – 99 | $59.49 | 15% off list |
| 100 – 249 | $58.79 | 16% off list |
| 250 – 499 | $58.09 | 17% off list |
| 500 – 999 | $57.39 | 18% off list |
| 1,000+ | $55.99 | 20% off list |
Popular for
A copy for every member, on one order.
A book for every attendee, delivered to your venue.
For clients, staff, members or volunteers.
Where can I buy 100 copies of CUDA for LLMs?
BookPal sells CUDA for LLMs in quantity. At 100 copies the price is $58.79 a copy, against a list price of $69.99, and the cart applies the volume tier automatically. Free shipping on most orders over $95 in the contiguous US. A specialist can quote a larger or mixed order.
- New books only, straight from the publisher
- Volume prices apply automatically in the cart, with no code needed
- Order at least 10 business days before you need the books (11 from mid-November through December)
What does CUDA for LLMs cost when I buy for a group?
Volume pricing applies automatically in your cart, with no code needed. Price per copy: 25 to 99 copies, $59.49 (15% off list); 100 to 249 copies, $58.79 (16% off list); 250 to 499 copies, $58.09 (17% off list); 500 to 999 copies, $57.39 (18% off list); 1,000+ copies, $55.99 (20% off list). Need a different quantity, or a quote to forward for approval? Ask a specialist and we will confirm pricing before you pay.
How fast can I get copies of CUDA for LLMs?
Need them by a specific date? Request a quote and we'll confirm timing before you pay.
Can you ship to several locations or people's homes?
Yes. We ship group orders to one address, to multiple sites, or to individual recipients, in the US and internationally. See fulfillment options.
Can I get a formal quote for approval before ordering?
Yes. Request a quote and we'll send a PDF you can forward for approval.
Do you accept purchase orders and tax-exempt orders?
Yes. We accept purchase orders upon approval, as well as cards, PayPal, ACH, wire transfers and checks. BookPal is a tax-exempt supplier in all 50 states. See purchase orders and sales tax exemption.
What if I find a lower price?
Send us the link. We match prices from other booksellers and distributors on a new copy in the same edition, available to ship in the quantity you need. Clearance sales and pricing errors are the exception, and we'll tell you quickly if that's the case. Start a price match.
Write a Review
CUDA for LLMs: Building fast transformer kernels
Groups also order




A colleague asked you to approve this order
Your quote list
Add books as you browse, then request one quote for all of them.