November 2015
Intermediate to advanced
352 pages
9h 45m
English
In this chapter, we look at applications involving computational threads that, instead of being independent, are inter dependent with other threads in their neighborhood on the computational grid. The mathematical models we will implement involve convolution (or correlation) operations in which data from threads in a neighborhood contribute to a linear combination with a constant array of coefficients. In the computing context, the operation is often referred to as filtering, and the coefficient array is a filter or stencil. Thread interactions can produce bottlenecks associated with multiple threads competing for access to the same data, so CUDA provides some capabilities for alleviating the bottlenecks ...
Read now
Unlock full access