Jump to ratings and reviews
Rate this book

OpenCL in Action: How to accelerate graphics and computations

Rate this book
SummaryOpenCL in Action is a thorough, hands-on presentation of OpenCL, with an eye toward showing developers how to build high-performance applications of their own. It begins by presenting the core concepts behind OpenCL, including vector computing, parallel programming, and multi-threaded operations, and then guides you step-by-step from simple data structures to complex functions.About the TechnologyWhatever system you have, it probably has more raw processing power than you're using. OpenCL is a high-performance programming language that maximizes computational power by executing on CPUs, graphics processors, and other number-crunching devices. It's perfect for speed-sensitive tasks like vector computing, matrix operations, and graphics acceleration.About this BookOpenCL in Action blends the theory of parallel computing with the practical reality of building high-performance applications using OpenCL. It first guides you through the fundamental data structures in an intuitive manner. Then, it explains techniques for high-speed sorting, image processing, matrix operations, and fast Fourier transform. The book concludes with a deep look at the all-important subject of graphics acceleration. Numerous challenging examples give you different ways to experiment with working code.A background in C or C++ is helpful, but no prior exposure to OpenCL is needed. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's InsideLearn OpenCL step by stepTons of annotated codeTested algorithms for maximum performance***********Table of ContentsPART 1 FOUNDATIONS OF OPENCL PROGRAMMINGIntroducing OpenCLHost fundamental data structuresHost data transfer and partitioningKernel data types and device memoryKernel operators and functionsImage processingEvents, profiling, and synchronizationDevelopment with C++ Development with Java and PythonGeneral coding principlesPART 2 CODING PRACTICAL ALGORITHMS IN OPENCLReduction and sortingMatrices and QR decompositionSparse matricesSignal processing and the fast Fourier transformPART 3 ACCELERATING OPENGL WITH OPENCLCombining OpenCL and OpenGLTextures and renderbuffers

456 pages, Kindle Edition

First published October 28, 2011

2 people are currently reading
41 people want to read

About the author

Matthew Scarpino

20 books4 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (30%)
4 stars
13 (50%)
3 stars
4 (15%)
2 stars
1 (3%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Alex Ott.
Author 3 books207 followers
January 20, 2012
really, between 3 & 4, about 3.6-3.7...
Book provides introduction into OpenCL, basic concepts, structures, functions, etc. But some topics aren't covered in much details
9 reviews1 follower
March 24, 2019
This is a very good book. There is a problem with it, though: The canonical example of OpenCL is bitonic sort. The bitonic sort code in the book is given with almost no comment. The author gives a good explanation of the bitonic sort, but never tells which part of the algorithm corresponds to what block in the code..
I havent read the last chapter on combining OpenCl and OpenGL, which seems to be very interesting..

By reading this book, I got a lot of insights on the internal architecture of modern GPU's.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.