GPU Programming using Rust and CUDA

GPU Programming using Rust and CUDA

Maris Fenlor

69,50 €
IVA incluido
Disponible
Editorial:
GitforGits
Año de edición:
2026
ISBN:
9789349174375
69,50 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Samer Atenea
  • Kálamo Books
  • Librería Elías (Asturias)
  • Librería Kolima (Madrid)
  • Librería Proteo (Málaga)

C++ has been the go-to for GPU programming for almost 20 years. Can Rust do the job, and how well?This book is all about getting hands-on with different toolchains that connect Rust to NVIDIA hardware. There’s RustaCUDA for safe host-side control, the Rust-CUDA project for writing kernels in pure Rust, and NVIDIA’s experimental cuda-oxide compiler with its typed launches and async execution graphs.We’re going to build one Cargo workspace that keeps on growing. It’ll include device queries, launch planning, Rust-written kernels, memory optimization, parallel reductions and scans, multi-stream pipelines, matrix multiplication benchmarked against cuBLAS, a Monte Carlo option pricer validated against a closed formula, and a complete batched inference application measured against a Python baseline. We’ll check every result against a CPU reference, and the reports will give accurate numbers, including where libraries outperform hand-written kernels and where experimental toolchains are still a work in progress.Key LearningsLaunch, synchronize, and verify GPU kernels with ownership-managed device memory.Write real CUDA kernels using Rust-CUDA and cuda-oxide.Plan grids, blocks, and warps for 2D workloads.Accelerate transfer speeds with pinned memory and coalesced access patterns.Build race-free thread cooperation using shared memory, barriers, and atomics.Overlap transfers with computation using streams, events, and async Rust pipelines.Optimize matrix multiplication and benchmark against cuBLAS ceiling.Wrap CUDA C library safely with handles, error enums, and Drop.Ship complete batched GPU inference application against Python baselines.Diagnose performance with Nsight Systems, Nsight Compute, and compute-sanitizer.Table of ContentNew Beneficiary of GPU ComputingThinking in ThreadsCommanding GPUWriting GPU KernelsCleaner Kernels with cuda-oxideMastering GPU MemoryMaking Threads CooperateKeeping GPU BusyDelivering Real MathBorrowing NVIDIA’s MuscleShipping Complete GPU ApplicationProving Performance

Artículos relacionados

  • Innovations in Data Methodologies and Computational Algorithms for Medical Applications
    Aryya Gangopadhyay
    Medicine has, until recently, been slow to adapt to information technologies and systems for many reasons, but the future lies therein. Innovations in Data Methodologies and Computational Algorithms for Medical Applications offers the most cutting-edge research in the field, offering insights into case studies and methodologies from around the world. The text details the latest...
  • Nine Algorithms That Changed the Future
    John MacCormick
    Nine revolutionary algorithms that power our computers and smartphonesEvery day, we use our computers to perform remarkable feats. A simple web search picks out a handful of relevant needles from the world’s biggest haystack. Uploading a photo to Facebook transmits millions of pieces of information over numerous error-prone network links, yet somehow a perfect copy of the photo...
    Disponible

    23,64 €

  • Machine Learning with Rust
    Keiko Nakamura
    In this stimulating journey of Rust, you’ll learn how to use the Rust programming language in conjunction with machine learning. It’s not a full guide to learning machine learning with Rust. Instead, it’s more of a journey that shows you what’s possible when you use Rust to solve machine learning problems. Some people like Rust because it is quick and safe. This book shows how ...
    Disponible

    69,58 €

  • Design and Analysis of Algorithms
    Dr. Paras Jain
    In the ever-evolving landscape of computer science, the significance of algorithm design and analysis cannot be overstated. This book, 'Design and Analysis of Algorithms,' endeavors to be a comprehensive guide that navigates both the theoretical foundations and practical applications of algorithms. As we delve into the intricate realm of algorithmic problem-solving, this text a...
    Disponible

    51,79 €

  • Deep Learning and Applications
    In recent years, the field of artificial intelligence has witnessed an extraordinary resurgence, with deep learning emerging as the cornerstone of numerous breakthroughs across various domains. 'Deep Learning and Applications' embarks on a journey into the captivating realm of deep learning, unraveling its intricate concepts, techniques, and transformative potential.This book s...
    Disponible

    43,49 €

  • Mastering Vim - Second Edition
    Ruslan Osipov
    Build applications with advanced movement, text operations, and IDE capabilities in Vim 9.0 and NeovimKey Features:- Develop proficiency in Vim and Vimscript for efficient text editing- Integrate Vim into your daily development workflow and customize it to suit your preferences- Learn through examples in Python code, explore scenarios with version control, and focus on the buil...
    Disponible

    60,86 €

Otros libros del autor

  • Practical GPU Programming
    Maris Fenlor
    If you’re a Python pro looking to get the most out of your code with GPUs, then Practical GPU Programming is the right book for you. This book will walk you through the basics of GPU architectures, show you hands-on parallel programming techniques, and give you the know-how to confidently speed up real workloads in data processing, analytics, and engineering.The first thing you...
    Disponible

    60,66 €