The CUDA Handbook: A Comprehensive Guide to GPU Programming, (Paperback)

Nicholas Wilt

  • 出版商: Addison Wesley
  • 出版日期: 2013-06-12
  • 售價: $2,100
  • 貴賓價: 9.5$1,995
  • 語言: 英文
  • 頁數: 528
  • 裝訂: Paperback
  • ISBN: 0321809467
  • ISBN-13: 9780321809469
  • 相關分類: CUDAGPU
  • 立即出貨 (庫存 < 4)

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

商品描述

 

The CUDA Handbook begins where CUDA by Example (Addison-Wesley, 2011) leaves off, discussing CUDA hardware and software in greater detail and covering both CUDA 5.0 and Kepler. Every CUDA developer, from the casual to the most sophisticated, will find something here of interest and immediate usefulness. Newer CUDA developers will see how the hardware processes commands and how the driver checks progress; more experienced CUDA developers will appreciate the expert coverage of topics such as the driver API and context migration, as well as the guidance on how best to structure CPU/GPU data interchange and synchronization.

 

The accompanying open source code–more than 25,000 lines of it, freely available at www.cudahandbook.com–is specifically intended to be reused and repurposed by developers.

 

Designed to be both a comprehensive reference and a practical cookbook, the text is divided into the following three parts:

Part I, Overview, gives high-level descriptions of the hardware and software that make CUDA possible.

 

Part II, Details, provides thorough descriptions of every aspect of CUDA, including

  •  Memory
  • Streams and events
  •  Models of execution, including the dynamic parallelism feature, new with CUDA 5.0 and SM 3.5
  • The streaming multiprocessors, including descriptions of all features through SM 3.5
  • Programming multiple GPUs
  • Texturing

The source code accompanying Part II is presented as reusable microbenchmarks and microdemos, designed to expose specific hardware characteristics or highlight specific use cases.

 

Part III, Select Applications, details specific families of CUDA applications and key parallel algorithms, including

  •  Streaming workloads
  • Reduction
  • Parallel prefix sum (Scan)
  • N-body
  • Image Processing

These algorithms cover the full range of potential CUDA applications.

 

商品描述(中文翻譯)

《CUDA手冊》(The CUDA Handbook)是在《CUDA by Example》(Addison-Wesley,2011)之後開始討論CUDA硬體和軟體的更多細節,並涵蓋了CUDA 5.0和Kepler。從初學者到最專業的CUDA開發者,都能在這裡找到感興趣且立即有用的內容。新手CUDA開發者將了解硬體如何處理指令以及驅動程式如何檢查進度;經驗豐富的CUDA開發者將欣賞對驅動程式API和上下文遷移等主題的專業涵蓋範圍,以及有關如何最佳結構化CPU/GPU數據交換和同步的指導。

附帶的開源程式碼-超過25,000行,可在www.cudahandbook.com免費使用-專為開發者重複使用和重新用途設計。

本書旨在成為一本全面的參考書和實用手冊,分為以下三個部分:

第一部分概述(Overview)提供了使CUDA成為可能的硬體和軟體的高層描述。

第二部分詳細(Details)詳細描述了CUDA的每個方面,包括:

- 記憶體
- 流和事件
- 執行模型,包括CUDA 5.0和SM 3.5中新增的動態平行性功能
- 流多處理器,包括對SM 3.5的所有功能的描述
- 多GPU編程
- 紋理

第二部分的源代碼以可重複使用的微基準和微演示形式呈現,旨在揭示特定硬體特性或突出特定用例。

第三部分選擇的應用(Select Applications)詳細介紹了特定類型的CUDA應用和關鍵的並行算法,包括:

- 流工作負載
- 減少
- 並行前綴和總和(Scan)
- N體問題
- 影像處理

這些算法涵蓋了CUDA應用的全部範圍。