OpenCL Programming Guide (Paperback)

Aaftab Munshi, Benedict Gaster, Timothy G. Mattson, James Fung, Dan Ginsburg

  • 出版商: Addison Wesley
  • 出版日期: 2011-07-13
  • 售價: $2,160
  • 貴賓價: 9.5$2,052
  • 語言: 英文
  • 頁數: 648
  • 裝訂: Paperback
  • ISBN: 0321749642
  • ISBN-13: 9780321749642
  • 相關分類: 程式語言
  • 立即出貨(限量)

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

商品描述

Using the new OpenCL (Open Computing Language) standard, you can write applications that access all available programming resources: CPUs, GPUs, and other processors such as DSPs and the Cell/B.E. processor. Already implemented by Apple, AMD, Intel, IBM, NVIDIA, and other leaders, OpenCL has outstanding potential for PCs, servers, handheld/embedded devices, high performance computing, and even cloud systems. This is the first comprehensive, authoritative, and practical guide to OpenCL 1.1 specifically for working developers and software architects.

 

Written by five leading OpenCL authorities, OpenCL Programming Guide covers the entire specification. It reviews key use cases, shows how OpenCL can express a wide range of parallel algorithms, and offers complete reference material on both the API and OpenCL C programming language.

 

Through complete case studies and downloadable code examples, the authors show how to write complex parallel programs that decompose workloads across many different devices. They also present all the essentials of OpenCL software performance optimization, including probing and adapting to hardware. Coverage includes

 

  • Understanding OpenCL’s architecture, concepts, terminology, goals, and rationale
  • Programming with OpenCL C and the runtime API
  • Using buffers, sub-buffers, images, samplers, and events
  • Sharing and synchronizing data with OpenGL and Microsoft’s Direct3D
  • Simplifying development with the C++ Wrapper API
  • Using OpenCL Embedded Profiles to support devices ranging from cellphones to supercomputer nodes
  • Case studies dealing with physics simulation; image and signal processing, such as image histograms, edge detection filters, Fast Fourier Transforms, and optical flow; math libraries, such as matrix multiplication and high-performance sparse matrix multiplication; and more

商品描述(中文翻譯)

使用新的OpenCL(Open Computing Language)標準,您可以編寫可以訪問所有可用編程資源的應用程序:CPU、GPU和其他處理器,如DSP和Cell/B.E.處理器。OpenCL已經由蘋果、AMD、英特爾、IBM、NVIDIA和其他領先公司實施,對於個人電腦、服務器、手持/嵌入式設備、高性能計算甚至雲系統都具有巨大的潛力。這是第一本針對開發人員和軟件架構師的OpenCL 1.1全面、權威和實用指南。

《OpenCL編程指南》由五位領先的OpenCL專家撰寫,涵蓋了整個規範。它回顧了關鍵的使用案例,展示了OpenCL如何表達各種並行算法,並提供了API和OpenCL C編程語言的完整參考資料。

通過完整的案例研究和可下載的代碼示例,作者展示了如何編寫將工作負載分解到許多不同設備上的複雜並行程序。他們還介紹了OpenCL軟件性能優化的所有基本要素,包括對硬件的探測和適應。內容包括:

- 理解OpenCL的架構、概念、術語、目標和原理
- 使用OpenCL C和運行時API進行編程
- 使用緩衝區、子緩衝區、圖像、取樣器和事件
- 與OpenGL和Microsoft的Direct3D共享和同步數據
- 使用C++封裝API簡化開發
- 使用OpenCL嵌入式配置文件支持從手機到超級計算機節點的設備
- 涉及物理模擬、圖像和信號處理(如圖像直方圖、邊緣檢測濾波器、快速傅立葉變換和光流)、數學庫(如矩陣乘法和高性能稀疏矩陣乘法)等案例研究。