Heterogeneous Computing with OpenCL

Front Cover
Elsevier, 2012 - Computers - 277 pages
1 Review

Heterogeneous Computing with OpenCL teaches OpenCL and parallel programming for complex systems that may include a variety of device architectures: multi-core CPUs, GPUs, and fully-integrated Accelerated Processing Units (APUs) such as AMD Fusion technology. Designed to work on multiple platforms and with wide industry support, OpenCL will help you more effectively program for a heterogeneous future.

Written by leaders in the parallel computing and OpenCL communities, this book will give you hands-on OpenCL experience to address a range of fundamental parallel algorithms. The authors explore memory spaces, optimization techniques, graphics interoperability, extensions, and debugging and profiling. Intended to support a parallel programming course, Heterogeneous Computing with OpenCL includes detailed examples throughout, plus additional online exercises and other supporting materials.



  • Explains principles and strategies to learn parallel programming with OpenCL, from understanding the four abstraction models to thoroughly testing and debugging complete applications.
  • Covers image processing, web plugins, particle simulations, video editing, performance optimization, and more.
  • Shows how OpenCL maps to an example target architecture and explains some of the tradeoffs associated with mapping to various architectures
  • Addresses a range of fundamental programming techniques, with multiple examples and case studies that demonstrate OpenCL extensions for a variety of hardware platforms
  

What people are saying - Write a review

LibraryThing Review

User Review  - jcopenha - LibraryThing

Not a recommended book for learning about GPGPU. Even though the Programming Massively Parallel Computers book was focused on CUDA it still gave a much better explanation of what is going on and how ... Read full review

User Review - Flag as inappropriate

Extremely complete resource with very thorough explanations. Good for beginners but also lots of info for more experienced users. Especially in the optimization chapters. I will be looking forward to the version about Opencl 2.0.

Contents

Introduction to Parallel Programming
1
Introduction to OpenCL
15
OpenCL Device Architectures
41
Basic OpenCL Examples
67
Understanding OpenCLs Concurrency and Execution Model
87
Dissecting a CPUGPU OpenCL Implementation
123
OpenCL Case Study
151
OpenCL Case Study
173
OpenCL Case Study
185
OpenCL Case Study
197
OpenCL Extensions
211
OpenCL Profiling and Debugging
235
WebCL
255
Index
271
Copyright

Common terms and phrases

About the author (2012)

Benedict R. Gaster is a software architect working on programming models for next-generation heterogeneous processors, in particular looking at high-level abstractions for parallel programming on the emerging class of processors that contain both CPUs and accelerators such as GPUs. Benedict has contributed extensively to the OpenCL's design and has represented AMD at the Khronos Group open standard consortium. Benedict has a Ph.D in computer science for his work on type systems for extensible records and variants.

Lee Howes has spent the last two years working at AMD and currently focuses on programming models for the future of heterogeneous computing. Lee's interests lie in declaratively representing mappings of iteration domains to data and in communicating complicated architectural concepts and optimizations succinctly to a developer audience, both through programming model improvements and education. Lee has a Ph.D. in computer science from Imperial College London for work in this area.

David Kaeli received a BS and PhD in Electrical Engineering from Rutgers University, and an MS in Computer Engineering from Syracuse University. He is the Associate Dean of Undergraduate Programs in the College of Engineering and a Full Processor on the ECE faculty at Northeastern University, Boston, MA where he directs the Northeastern University Computer Architecture Research Laboratory (NUCAR). Prior to joining Northeastern in 1993, Kaeli spent 12 years at IBM, the last 7 at T.J. Watson Research Center, Yorktown Heights, NY.

Dr. Kaeli has co-authored more than 200 critically reviewed publications. His research spans a range of areas including microarchitecture to back-end compilers and software engineering. He leads a number of research projects in the area of GPU Computing. He presently serves as the Chair of the IEEE Technical Committee on Computer Architecture. Dr. Kaeli is an IEEE Fellow and a member of the ACM.

Perhaad Mistry is a PhD candidate at Northeastern University. He received a BS in Electronics Engineering from University of Mumbai and an MS in Computer Engineering from Northeastern University in Boston. He is presently a member of the Northeastern University Computer Architecture Research Laboratory (NUCAR) and is advised by Dr. David Kaeli.

Perhaad works on a variety of parallel computing projects. He has designed scalable data structures for the physics simulations for GPGPU platforms and has also implemented medical reconstruction algorithms for heterogeneous devices. His present research focuses on the design of profiling tools for heterogeneous computing, He is studying the potential of using standards like OpenCL for building tools that simplify parallel programming and performance analysis across the variety of heterogeneous devices available today.

Dana Schaa received a BS in Computer Engineering from Cal Poly, San Luis Obispo, and an MS in Electrical and Computer Engineering from Northeastern University, where he is also currently a Ph. D. candidate. His research interests include parallel programming models and abstractions, particularly for GPU architectures. He has developed GPU-based implementations of several medical imaging research projects ranging from real-time visualization to image reconstruction in distributed, heterogeneous environments. Dana married his wonderful wife Jenny in 2010, and they live together in Boston with their charming cats.

Bibliographic information