E-book details

GPU Programming with C++ and CUDA. Uncover effective techniques for writing efficient GPU-parallel C++ applications

GPU Programming with C++ and CUDA. Uncover effective techniques for writing efficient GPU-parallel C++ applications

Paulo Motta

Ebook
Written by Paulo Motta, a senior researcher with decades of experience, this comprehensive GPU programming book is an essential guide for leveraging the power of parallelism to accelerate your computations. The first section introduces the concept of parallelism and provides practical advice on how to think about and utilize it effectively. Starting with a basic GPU program, you then gain hands-on experience in managing the device. This foundational knowledge is then expanded by parallelizing the program to illustrate how GPUs enhance performance.
The second section explores GPU architecture and implementation strategies for parallel algorithms, and offers practical insights into optimizing resource usage for efficient execution.
In the final section, you will explore advanced topics such as utilizing CUDA streams. You will also learn how to package and distribute GPU-accelerated libraries for the Python ecosystem, extending the reach and impact of your work.
Combining expert insight with real-world problem solving, this book is a valuable resource for developers and researchers aiming to harness the full potential of GPU computing. The blend of theoretical foundations, practical programming techniques, and advanced optimization strategies it offers is sure to help you succeed in the fast-evolving field of GPU programming.
  • 1. Introduction to Parallel Programming
  • 2. Getting Started
  • 3. Hello CUDA
  • 4. Hello again, but in parallel
  • 5. A closer look into the GPU world
  • 6. Data Management and Persistence
  • 7. Performance strategies
  • 8. Using multiple GPUs
  • 9. Exposing your code as a Python Library
  • 10. Exploring the existing GPU models
  • Title: GPU Programming with C++ and CUDA. Uncover effective techniques for writing efficient GPU-parallel C++ applications
  • Author: Paulo Motta
  • Original title: GPU Programming with C++ and CUDA. Uncover effective techniques for writing efficient GPU-parallel C++ applications
  • ISBN: 9781805128823, 9781805128823
  • Date of issue: 2025-08-29
  • Format: Ebook
  • Item ID: e_4h5q
  • Publisher: Packt Publishing