Get to grips with OpenCL programming using Packt's new book and eBook

January 2014 | Open Source

Packt is pleased to announce the release of OpenCL Programming by Example, an example-driven, simple, and practical approach to using OpenCL for general purpose GPU programming. The print book is 304 pages long and is competitively priced at $54.99, while the eBook and Kindle versions are available for $28.04.

About the authors:

Ravishekhar Banger calls himself a "Parallel Programming Dogsbody". Currently he is a specialist in OpenCL programming and works for library optimization using OpenCL. With more than eight years of industry experience, his present interest lies in General Purpose GPU programming models, parallel programming, and performance optimization for the GPU. Having worked for Samsung and Motorola, he is now a Member of Technical Staff at Advanced Micro Devices, Inc.

Koushik Bhattacharyya is working with Advanced Micro Devices, Inc. as a member of technical staff and also worked as a software developer at NVIDIA. He did an M.Tech in Computer Science (Gold Medalist) at the Indian Statistical Institute, Kolkata, and an M.Sc in Pure Mathematics from Burdwan University. With more than ten years of experience in software development using a number of languages and platforms, Koushik's present areas of interest include parallel programming and machine learning.

Open Computing Language (OpenCL) is a framework for writing programs that execute across heterogeneous platforms consisting of central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), field-programmable gate arrays, and other processors.

OpenCL Programming by Example will help the reader understand OpenCL Platform Model, Execution Model, Memory Model, and Programming Model. This book explores the different OpenCL objects, APIs for building kernels, memory allocation, data transfer, synchronization, and much more. OpenCL Programming by Example will help users get to grips with API explanations using simple examples, and also help them create image processing examples such as image histograms and image convolutions. OpenCL Programming by Example offers a compact coverage of all the major topics of OpenCL programming. It explains optimization techniques and strategies in depth using illustrative examples, and also provides case studies from diverse fields.

OpenCL Programming by Example covers the following topics:

Chapter 1: Hello OpenCL

Chapter 2: OpenCL Architecture

Chapter 3: OpenCL Buffer Objects

Chapter 4: OpenCL Images

Chapter 5: OpenCL Program and Kernel Objects

Chapter 6: Events and Synchronization

Chapter 7: OpenCL C Programming

Chapter 8: Basic Optimization Techniques with Case Studies

Chapter 9: Image Processing and OpenCL

Chapter 10: OpenCL-OpenGL Interoperation

Chapter 11: Case studies – Regressions, Sort, and KNN

OpenCL Programming by Example is ideal for beginners in parallel programming who would like to quickly accelerate their algorithms using OpenCL. A good knowledge of C programming and an understanding of parallel implementations will be useful but not necessary to understand this book. For more information, please visit the book's page at:

OpenCL Programming by Example
A comprehensive guide on OpenCL programming with examples

For more information, please visit:

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software