OpenCL Programming by Example

For a comprehensive, easy-to-swallow guide to OpenCL Programming, this book is out on its own. That’s because it teaches through examples and covers everything from parallel sorting to optimization in simple stages.

OpenCL Programming by Example

Ravishekhar Banger, Koushik Bhattacharyya

For a comprehensive, easy-to-swallow guide to OpenCL Programming, this book is out on its own. That’s because it teaches through examples and covers everything from parallel sorting to optimization in simple stages.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $32.99
Save 69%
Print + eBook
$54.99
RRP $54.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$54.99
$29.99 p/m after trial
RRP $32.99
RRP $54.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


OpenCL Programming by Example Book Cover
OpenCL Programming by Example
$ 32.99
$ 10.00
OpenCL Parallel Programming Development Cookbook Book Cover
OpenCL Parallel Programming Development Cookbook
$ 32.99
$ 10.00
Buy 2 for $20.00
Save $45.98
Add to Cart

Book Details

ISBN 139781849692342
Paperback304 pages

Book Description

Research in parallel programming has been a mainstream topic for a decade, and will continue to be so for many decades to come. Many parallel programming standards and frameworks exist, but only take into account one type of hardware architecture. Today computing platforms come with many heterogeneous devices. OpenCL provides royalty free standard to program heterogeneous hardware.

This guide offers you 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. Beginners and advanced application developers will find this book very useful.

Beginning with the discussion of the OpenCL models, this book explores their architectural view, programming interfaces and primitives. It slowly demystifies the process of identifying the data and task parallelism in diverse algorithms.

It presents examples from different domains to show how the problems within different domains can be solved more efficiently using OpenCL. You will learn about parallel sorting, histogram generation, JPEG compression, linear and parabolic regression and k-nearest neighborhood, a clustering algorithm in pattern recognition. Following on from this, optimization strategies are explained with matrix multiplication examples. You will also learn how to do an interoperation of OpenGL and OpenCL.

"OpenCL Programming by Example" explains OpenCL in the simplest possible language, which beginners will find it easy to understand. Developers and programmers from different domains who want to achieve acceleration for their applications will find this book very useful.

Table of Contents

Chapter 5: OpenCL Program and Kernel Objects

What You Will Learn

  • Understand OpenCL Platform Model, Execution Model, Memory Model, and Programming Model
  • Explore the different OpenCL objects, APIs for building kernel, memory allocation, data transfer, synchronization, and many more
  • Get to grips with API explanations, featuring simple examples
  • Create image processing examples such as Image histogram and Image convolution
  • Learn optimization techniques with Matrix Multiplication and Histogram examples.
  • Develop Bitonic sort in OpenCL
  • Build JPEG decoder using OpenCL
  • Construct linear and parabolic regression equation in OpenCL
  • Compose k-nearest neighborhood clustering algorithm from pattern recognition
  • Use OpenCL with OpenGL interoperability

Authors

Table of Contents

Chapter 5: OpenCL Program and Kernel Objects

Book Details

ISBN 139781849692342
Paperback304 pages
Read More

Read More Reviews

Recommended for You

OpenCL Parallel Programming Development Cookbook Book Cover
OpenCL Parallel Programming Development Cookbook
$ 32.99
$ 10.00
OpenGL Development Cookbook Book Cover
OpenGL Development Cookbook
$ 29.99
$ 10.00
Construyendo Sistemas telefónicos con Asterisk [Espanol] Book Cover
Construyendo Sistemas telefónicos con Asterisk [Espanol]
$ 23.99
$ 10.00
Getting Started with C++ Audio Programming for Game Development Book Cover
Getting Started with C++ Audio Programming for Game Development
$ 23.99
$ 10.00
HLSL Development Cookbook Book Cover
HLSL Development Cookbook
$ 29.99
$ 10.00
OpenGL ES 3.0 Cookbook Book Cover
OpenGL ES 3.0 Cookbook
$ 39.99
$ 10.00