Book description
CUDA for Engineers gives you direct, hands-on engagement with personal, high-performance parallel computing, enabling you to do computations on a gaming-level PC that would have required a supercomputer just a few years ago.
The authors introduce the essentials of CUDA C programming clearly and concisely, quickly guiding you from running sample programs to building your own code. Throughout, you’ll learn from complete examples you can build, run, and modify, complemented by additional projects that deepen your understanding. All projects are fully developed, with detailed building instructions for all major platforms.
Ideal for any scientist, engineer, or student with at least introductory programming experience, this guide assumes no specialized background in GPU-based or parallel computing. In an appendix, the authors also present a refresher on C programming for those who need it.
Coverage includes
- Preparing your computer to run CUDA programs
- Understanding CUDA’s parallelism model and C extensions
- Transferring data between CPU and GPU
- Managing timing, profiling, error handling, and debugging
- Creating 2D grids
- Interoperating with OpenGL to provide real-time user interactivity
- Performing basic simulations with differential equations
- Using stencils to manage related computations across threads
- Exploiting CUDA’s shared memory capability to enhance performance
- Interacting with 3D data: slicing, volume rendering, and ray casting
- Using CUDA libraries
- Finding more CUDA resources and code
Realistic example applications include
- Visualizing functions in 2D and 3D
- Solving differential equations while changing initial or boundary conditions
- Viewing/processing images or image stacks
- Computing inner products and centroids
- Solving systems of linear algebraic equations
- Monte-Carlo computations
Table of contents
- About This E-Book
- Title Page
- Copyright Page
- Praise for CUDA for Engineers
- Dedication Page
- Contents
- Acknowledgments
- About the Authors
- Introduction
- Chapter 1. First Steps
- Chapter 2. CUDA Essentials
- Chapter 3. From Loops to Grids
- Chapter 4. 2D Grids and Interactive Graphics
- Chapter 5. Stencils and Shared Memory
- Chapter 6. Reduction and Atomic Functions
- Chapter 7. Interacting with 3D Data
- Chapter 8. Using CUDA Libraries
- Chapter 9. Exploring the CUDA Ecosystem
- Appendix A. Hardware Setup
- Appendix B. Software Setup
- Appendix C. Need-to-Know C Programming
- Appendix D. CUDA Practicalities: Timing, Profiling, Error Handling, and Debugging
- Index
- Code Snippets
Product information
- Title: CUDA for Engineers: An Introduction to High-Performance Parallel Computing
- Author(s):
- Release date: November 2015
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134177540
You might also like
book
CUDA by Example: An Introduction to General-Purpose GPU Programming
“This book is required reading for anyone working with accelerator-based computing systems.” –From the Foreword by …
book
Parallel and High Performance Computing
Complex calculations, like training deep learning models or running large-scale simulations, can take an extremely long …
book
Introduction to Parallel Computing, Second Edition
Introducation to Parallel Computing is a complete end-to-end source of information on almost all aspects of …
book
Hands-On GPU Programming with Python and CUDA
Build real-world applications with Python 2.7, CUDA 9, and CUDA 10. We suggest the use of …