CUDA Programming: A Developer's Guide to Parallel Computing with GPUs
Newnes, 28 груд. 2012 р. - 600 стор.
If you need to learn CUDA but don't have experience with parallel computing, CUDA Programming: A Developer's Introduction offers a detailed guide to CUDA with a grounding in parallel fundamentals. It starts by introducing CUDA and bringing you up to speed on GPU parallelism and hardware, then delving into CUDA installation. Chapters on core concepts including threads, blocks, grids, and memory focus on both parallel and CUDA-specific issues. Later, the book demonstrates CUDA in practice for optimizing applications, adjusting to new hardware, and solving common problems.
Результати 1-5 із 29
The main parallel processing languages extensions are MPI, OpenMP, and pthreads if you are developing for Linux. For Windows there is the Windows threading model and OpenMP. MPI and pthreads are supported as various ports from the Unix ...
OpenMP (Open Multi-Processing) is a system designed for parallelism within a node or computer system. It works entirely differently, in that the programmer specifies various parallel directives through compiler pragmas.
The OpenMP standard addresses parallelism within a single node and is designed for shared memory machines that contain multicore processors. It does not have any concept of anything outside a single node or box.
In many respects the threading model sits well with OpenMP, while the process model sits well with MPI. In terms of GPUs, they map to a hybrid of both approaches. CUDA uses a grid of blocks. This can be thought of as a queue (or a grid) ...
This is typically the approach found in OpenMP and OpenACC, where you define a parallel region with pragma statements. The code then splits into N threads and later converges to a single thread again. In Figure 2.2, we see a queue of ...
Відгуки відвідувачів - Написати рецензію
Chapter 8 MultiCPU and MultiGPU Solutions
Chapter 9 Optimizing Your Application
Chapter 10 Libraries and SDK
Chapter 11 Designing GPUBased Systems
Chapter 12 Common Problems Causes and Solutions