OpenCL in Action: How to Accelerate Graphics and Computations (Paperback)

Matthew Scarpino

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

相關主題

商品描述

Summary

OpenCL 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 Technology

Whatever 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 Book

OpenCL 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.

What's Inside
  • Learn OpenCL step by step
  • Tons of annotated code
  • Tested algorithms for maximum performance

***********

Table of Contents
PART 1 FOUNDATIONS OF OPENCL PROGRAMMING
PART 2 CODING PRACTICAL ALGORITHMS IN OPENCL
PART 3 ACCELERATING OPENGL WITH OPENCL
  1. Introducing OpenCL
  2. Host programming: fundamental data structures
  3. Host programming: data transfer and partitioning
  4. Kernel programming: data types and device memory
  5. Kernel programming: operators and functions
  6. Image processing
  7. Events, profiling, and synchronization
  8. Development with C++
  9. Development with Java and Python
  10. General coding principles
  11. Reduction and sorting
  12. Matrices and QR decomposition
  13. Sparse matrices
  14. Signal processing and the fast Fourier transform
  15. Combining OpenCL and OpenGL
  16. Textures and renderbuffers

商品描述(中文翻譯)


摘要

OpenCL in Action 是一本詳盡且實用的 OpenCL 教學書籍,旨在向開發人員展示如何建立自己的高效能應用程式。它首先介紹了 OpenCL 的核心概念,包括向量運算、並行程式設計和多執行緒操作,然後逐步引導讀者從簡單的資料結構到複雜的函數。


關於這項技術

無論您使用的是什麼系統,它可能具有比您實際使用的更多的原始處理能力。OpenCL 是一種高效能的程式語言,通過在 CPU、圖形處理器和其他數據運算設備上執行來最大化計算能力。它非常適合於速度敏感的任務,如向量運算、矩陣操作和圖形加速。


關於本書

OpenCL in Action 將並行計算的理論與使用 OpenCL 建立高效能應用程式的實際情況相結合。它首先以直觀的方式引導讀者了解基本的資料結構,然後解釋了高速排序、影像處理、矩陣操作和快速傅立葉轉換等技術。本書最後深入探討了重要的圖形加速主題。豐富的挑戰性範例提供了不同的實驗方式,讓讀者可以嘗試不同的工作程式碼。

具備 C 或 C++ 背景會有所幫助,但不需要先前接觸過 OpenCL。


內容簡介


  • 逐步學習 OpenCL

  • 大量註解的程式碼

  • 經過測試的最佳效能演算法

***********


目錄

第 1 部分 OpenCL 程式設計基礎

第 2 部分 OpenCL 實用演算法編碼

第 3 部分 使用 OpenCL 加速 OpenGL


  1. 介紹 OpenCL

  2. 主機程式設計:基本資料結構

  3. 主機程式設計:資料傳輸和分割

  4. 核心程式設計:資料類型和裝置記憶體

  5. 核心程式設計:運算子和函數

  6. 影像處理

  7. 事件、性能分析和同步

  8. 使用 C++ 開發

  9. 使用 Java 和 Python 開發

  10. 一般編碼原則

  11. 歸納和排序

  12. 矩陣和 QR 分解

  13. 稀疏矩陣

  14. 信號處理和快速傅立葉轉換

  15. 結合 OpenCL 和 OpenGL

  16. 紋理和渲染緩衝區