CUDA for Engineers: An Introduction to High-Performance Parallel Computing Front Cover

CUDA for Engineers: An Introduction to High-Performance Parallel Computing

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

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

To access the link, solve the captcha.