GPU Parallel Program Development Using CUDA - Tolga Soyata

GPU Parallel Program Development Using CUDA

(Autor)

Buch | Softcover
440 Seiten
2020
Chapman & Hall/CRC (Verlag)
978-0-367-57224-2 (ISBN)
56,10 inkl. MwSt
This book teaches GPU programming by introducing CPU multi-threaded programming and bases GPU massively-parallel programming on this foundation. The differences among families of GPUs are also studied. The book also explores CUDA libraries, OpenCL, GPU programming with other languages and API libraries, and the deep learning library cuDNN
GPU Parallel Program Development using CUDA teaches GPU programming by showing the differences among different families of GPUs. This approach prepares the reader for the next generation and future generations of GPUs. The book emphasizes concepts that will remain relevant for a long time, rather than concepts that are platform-specific. At the same time, the book also provides platform-dependent explanations that are as valuable as generalized GPU concepts.



The book consists of three separate parts; it starts by explaining parallelism using CPU multi-threading in Part I. A few simple programs are used to demonstrate the concept of dividing a large task into multiple parallel sub-tasks and mapping them to CPU threads. Multiple ways of parallelizing the same task are analyzed and their pros/cons are studied in terms of both core and memory operation.



Part II of the book introduces GPU massive parallelism. The same programs are parallelized on multiple Nvidia GPU platforms and the same performance analysis is repeated. Because the core and memory structures of CPUs and GPUs are different, the results differ in interesting ways. The end goal is to make programmers aware of all the good ideas, as well as the bad ideas, so readers can apply the good ideas and avoid the bad ideas in their own programs.



Part III of the book provides pointer for readers who want to expand their horizons. It provides a brief introduction to popular CUDA libraries (such as cuBLAS, cuFFT, NPP, and Thrust),the OpenCL programming language, an overview of GPU programming using other programming languages and API libraries (such as Python, OpenCV, OpenGL, and Apple’s Swift and Metal,) and the deep learning library cuDNN.

Tolga Soyata is an associate professor in the Electrical and Computer Engineering department of SUNY Albany.

Introduction to Parallelism and GPU Programming. Introduction to Pthreads. Introduction to Multi-threading. Multi-threading Analysis. Introduction to AWS and the first GPU program. Analysis of the first CUDA program. How to run programs outside Amazon, on a different Unix system. How to run programs outside Amazon, on a different Windows system. Introduction to GPU Multi-threading and Global Memory. In-depth look at Global Memory and GPU Threads. Introduction to Shared Memory. In-depth look at Shared Memory. Performance Bottlenecks in GPU Architecture. Compute Capability and PTX. Host-Device Data Movement Mechanism. CUDA Streaming. CUDA Atomics. OpenGL-CUDA Interoperability. OpenGL and Real-Time GPU Processing. Example Applications - Edge Detection (CUBLAS). Example Applications - Sophisticated Image Processing (CUFFT). Example Applications- Elastography Based Tumor Detection (CUSOLVER). Example Applications - Real-Time Face Recognition (OpenCV, CUBLAS).

Erscheinungsdatum
Reihe/Serie Chapman & Hall/CRC Computational Science
Sprache englisch
Maße 178 x 254 mm
Gewicht 453 g
Themenwelt Mathematik / Informatik Informatik Netzwerke
Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Theorie / Studium
Informatik Weitere Themen Hardware
ISBN-10 0-367-57224-9 / 0367572249
ISBN-13 978-0-367-57224-2 / 9780367572242
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
entwickle, drucke und baue deine DIY-Objekte

von Stephan Regele

Buch | Hardcover (2023)
Hanser, Carl (Verlag)
34,99