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 із 55
The GPU has its own internal scheduler that will then allocate the kernels to whatever GPU hardware is present. We'll cover scheduling in detail later. Provided there is enough parallelism in the task, as the number of SMs in the GPU ...
We'd typically allocate, at least initially, a combination of blocks and threads such that a single thread processed a single element of data. As with the CPU, there are benefits from processing multiple elements per thread.
They have a work pool of threads/processes that the OS will allocate to one of N CPU cores. Each thread/process has an independent stream of instructions, and thus the hardware contains all 30 CHAPTER 2 Understanding Parallelism with ...
Failure to allocate enough stack space, as with CPUs, will result in the program failing. Some debugging tools such as Parallel Nsight and CUDA-GDB can detect such stack overflow issues. In selecting a recursive algorithm be aware that ...
You may also choose to split each frame into N segments and allocate each one of the segments to an individual core. In the GPU domain, you see exactly these choices when attempting to speed up rendering of 3D worlds in computer games ...
Відгуки відвідувачів - Написати рецензію
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