,

CUDA by Example

An Introduction to General-Purpose GPU Programming

E-book Engels 2010 9780132180139
Verwachte levertijd ongeveer 9 werkdagen

Samenvatting

“This book is required reading for anyone working with accelerator-based computing systems.”

—From the Foreword by Jack Dongarra, University of Tennessee and Oak Ridge National Laboratory

CUDA is a computing architecture designed to facilitate the development of parallel programs. In conjunction with a comprehensive software platform, the CUDA Architecture enables programmers to draw on the immense power of graphics processing units (GPUs) when building high-performance applications. GPUs, of course, have long been available for demanding graphics and game applications. CUDA now brings this valuable resource to programmers working on applications in other domains, including science, engineering, and finance. No knowledge of graphics programming is required—just the ability to program in a modestly extended version of C.

 

CUDA by Example, written by two senior members of the CUDA software platform team, shows programmers how to employ this new technology. The authors introduce each area of CUDA development through working examples. After a concise introduction to the CUDA platform and architecture, as well as a quick-start guide to CUDA C, the book details the techniques and trade-offs associated with each key CUDA feature. You’ll discover when to use each CUDA C extension and how to write CUDA software that delivers truly outstanding performance.

 

Major topics covered include Parallel programming Thread cooperation Constant memory and events Texture memory Graphics interoperability Atomics Streams CUDA C on multiple GPUs Advanced atomics Additional CUDA resources

All the CUDA software tools you’ll need are freely available for download from NVIDIA.http://developer.nvidia.com/object/cuda-by-example.html

Specificaties

ISBN13:9780132180139
Taal:Engels
Bindwijze:e-book

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

<p style="MARGIN: 0px">Foreword xiii</p> <p style="MARGIN: 0px">Preface xv</p> <p style="MARGIN: 0px">Acknowledgments xvii</p> <p style="MARGIN: 0px">About the Authors xix</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 1: Why CUDA? Why Now? 1</p> <p style="MARGIN: 0px">1.1 Chapter Objectives 2</p> <p style="MARGIN: 0px">1.2 The Age of Parallel Processing 2</p> <p style="MARGIN: 0px">1.3 The Rise of GPU Computing 4</p> <p style="MARGIN: 0px">1.4 CUDA 6</p> <p style="MARGIN: 0px">1.5 Applications of CUDA 8</p> <p style="MARGIN: 0px">1.6 Chapter Review 11</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 2: Getting Started 13</p> <p style="MARGIN: 0px">2.1 Chapter Objectives 14</p> <p style="MARGIN: 0px">2.2 Development Environment 14</p> <p style="MARGIN: 0px">2.3 Chapter Review 19</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 3: Introduction to CUDA C 21</p> <p style="MARGIN: 0px">3.1 Chapter Objectives 22</p> <p style="MARGIN: 0px">3.2 A First Program 22</p> <p style="MARGIN: 0px">3.3 Querying Devices 27</p> <p style="MARGIN: 0px">3.4 Using Device Properties 33</p> <p style="MARGIN: 0px">3.5 Chapter Review 35</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 4: Parallel Programming in CUDA C 37</p> <p style="MARGIN: 0px">4.1 Chapter Objectives 38</p> <p style="MARGIN: 0px">4.2 CUDA Parallel Programming 38</p> <p style="MARGIN: 0px">4.3 Chapter Review 57</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 5: Thread Cooperation 59</p> <p style="MARGIN: 0px">5.1 Chapter Objectives 60</p> <p style="MARGIN: 0px">5.2 Splitting Parallel Blocks 60</p> <p style="MARGIN: 0px">5.3 Shared Memory and Synchronization 75</p> <p style="MARGIN: 0px">5.4 Chapter Review 94</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 6: Constant Memory and Events 95</p> <p style="MARGIN: 0px">6.1 Chapter Objectives 96</p> <p style="MARGIN: 0px">6.2 Constant Memory 96</p> <p style="MARGIN: 0px">6.3 Measuring Performance with Events 108</p> <p style="MARGIN: 0px">6.4 Chapter Review 114</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 7: Texture Memory 115</p> <p style="MARGIN: 0px">7.1 Chapter Objectives 116</p> <p style="MARGIN: 0px">7.2 Texture Memory Overview 116</p> <p style="MARGIN: 0px">7.3 Simulating Heat Transfer 117</p> <p style="MARGIN: 0px">7.4 Chapter Review 137</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 8: Graphics Interoperability 139</p> <p style="MARGIN: 0px">8.1 Chapter Objectives 140</p> <p style="MARGIN: 0px">8.2 Graphics Interoperation 140</p> <p style="MARGIN: 0px">8.3 GPU Ripple with Graphics Interoperability 147</p> <p style="MARGIN: 0px">8.4 Heat Transfer with Graphics Interop 154</p> <p style="MARGIN: 0px">8.5 DirectX Interoperability 160</p> <p style="MARGIN: 0px">8.6 Chapter Review 161</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 9: Atomics 163</p> <p style="MARGIN: 0px">9.1 Chapter Objectives 164</p> <p style="MARGIN: 0px">9.2 Compute Capability 164</p> <p style="MARGIN: 0px">9.3 Atomic Operations Overview 168</p> <p style="MARGIN: 0px">9.4 Computing Histograms 170</p> <p style="MARGIN: 0px">9.5 Chapter Review 183</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 10: Streams 185</p> <p style="MARGIN: 0px">10.1 Chapter Objectives 186</p> <p style="MARGIN: 0px">10.2 Page-Locked Host Memory 186</p> <p style="MARGIN: 0px">10.3 CUDA Streams 192</p> <p style="MARGIN: 0px">10.4 Using a Single CUDA Stream 192</p> <p style="MARGIN: 0px">10.5 Using Multiple CUDA Streams 198</p> <p style="MARGIN: 0px">10.6 GPU Work Scheduling 205</p> <p style="MARGIN: 0px">10.7 Using Multiple CUDA Streams Effectively 208</p> <p style="MARGIN: 0px">10.8 Chapter Review 211</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 11: CUDA C on Multiple GPUs 213</p> <p style="MARGIN: 0px">11.1 Chapter Objectives 214</p> <p style="MARGIN: 0px">11.2 Zero-Copy Host Memory 214</p> <p style="MARGIN: 0px">11.3 Using Multiple GPUs 224</p> <p style="MARGIN: 0px">11.4 Portable Pinned Memory 230</p> <p style="MARGIN: 0px">11.5 Chapter Review 235</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Chapter 12: The Final Countdown 237</p> <p style="MARGIN: 0px">12.1 Chapter Objectives 238</p> <p style="MARGIN: 0px">12.2 CUDA Tools 238</p> <p style="MARGIN: 0px">12.3 Written Resources 244</p> <p style="MARGIN: 0px">12.4 Code Resources 246</p> <p style="MARGIN: 0px">12.5 Chapter Review 248</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Appendix A: Advanced Atomics 249</p> <p style="MARGIN: 0px">A.1 Dot Product Revisited 250</p> <p style="MARGIN: 0px">A.2 Implementing a Hash Table 258</p> <p style="MARGIN: 0px">A.3 Appendix Review 277</p> <p style="MARGIN: 0px"> </p> <p style="MARGIN: 0px">Index 279</p>

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        CUDA by Example