OpenCL Programming by Example (Paperback)
暫譯: OpenCL 實作範例

Ravishekhar Banger, Koushik Bhattacharyya

  • 出版商: Packt Publishing
  • 出版日期: 2013-11-17
  • 售價: $2,420
  • 貴賓價: 9.5$2,299
  • 語言: 英文
  • 頁數: 304
  • 裝訂: Paperback
  • ISBN: 1849692343
  • ISBN-13: 9781849692342
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

A comprehensive guide on OpenCL programming with examples

Overview

  • Learn about all of the OpenCL Architecture and major APIs.
  • Learn OpenCL programming with simple examples from Image Processing, Pattern Recognition and Statistics with detailed code explanation.
  • Explore several aspects of optimization techniques, with code examples to guide you through the process
  • Understand how to use OpenCL in your problem domains

In Detail

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.

What you will learn from this book

  • 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 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

Approach

This book follows an example-driven, simplified, and practical approach to using OpenCL for general purpose GPU programming.

商品描述(中文翻譯)

一本關於 OpenCL 程式設計的綜合指南,附有範例

概述

  • 了解所有 OpenCL 架構及主要 API。
  • 透過影像處理、模式識別和統計的簡單範例學習 OpenCL 程式設計,並提供詳細的程式碼解釋。
  • 探索多種優化技術,並提供程式碼範例以指導您完成過程。
  • 了解如何在您的問題領域中使用 OpenCL。

詳細內容

平行程式設計的研究已經成為主流主題十年,並將在未來幾十年內持續如此。雖然存在許多平行程式設計標準和框架,但僅考慮一種硬體架構。如今的計算平台配備了許多異質設備。OpenCL 提供了免版稅的標準來編程異質硬體。

本指南為您提供了 OpenCL 程式設計所有主要主題的簡明覆蓋。它深入解釋了優化技術和策略,使用插圖範例,並提供來自不同領域的案例研究。初學者和高級應用開發者都會發現這本書非常有用。

本書從 OpenCL 模型的討論開始,探索其架構視圖、程式設計介面和原語。它逐步揭開在不同算法中識別數據和任務平行性的過程。

本書提供來自不同領域的範例,展示如何使用 OpenCL 更有效地解決不同領域中的問題。您將學習平行排序、直方圖生成、JPEG 壓縮、線性和拋物線回歸以及 k 最近鄰居,這是一種模式識別中的聚類算法。在此之後,將用矩陣乘法範例解釋優化策略。您還將學習如何進行 OpenGL 和 OpenCL 的互操作。

《OpenCL 程式設計範例》以最簡單的語言解釋 OpenCL,初學者將容易理解。來自不同領域的開發者和程式設計師希望為其應用程式實現加速,將會發現這本書非常有用。

您將從本書中學到什麼

  • 了解 OpenCL 平台模型、執行模型、記憶體模型和程式設計模型
  • 探索不同的 OpenCL 物件、構建內核的 API、記憶體分配、數據傳輸、同步等
  • 掌握 API 解釋,並附有簡單範例
  • 創建影像處理範例,如影像直方圖和影像卷積
  • 學習矩陣乘法範例的優化技術
  • 在 OpenCL 中開發 Bitonic 排序
  • 使用 OpenCL 構建 JPEG 解碼器
  • 在 OpenCL 中構建線性和拋物線回歸方程
  • 從模式識別中組合 k 最近鄰居聚類算法
  • 使用 OpenCL 與 OpenGL 的互操作性

方法

本書採用以範例為驅動的簡化和實用方法,使用 OpenCL 進行通用 GPU 程式設計。

最後瀏覽商品 (20)