Book description
Capitalize on the faster GPU processors in today’s computers with the C++ AMP code library—and bring massive parallelism to your project. With this practical book, experienced C++ developers will learn parallel programming fundamentals with C++ AMP through detailed examples, code snippets, and case studies. Learn the advantages of parallelism and get best practices for harnessing this technology in your applications.
Discover how to:
- Gain greater code performance using graphics processing units (GPUs)
- Choose accelerators that enable you to write code for GPUs
- Apply thread tiles, tile barriers, and tile static memory
- Debug C++ AMP code with Microsoft Visual Studio®
- Use profiling tools to track the performance of your code
Publisher resources
Table of contents
- Dedication
- Foreword
- Introduction
- 1. Overview and C++ AMP Approach
- 2. NBody Case Study
- 3. C++ AMP Fundamentals
- 4. Tiling
- 5. Tiled NBody Case Study
- 6. Debugging
-
7. Optimization
- An Approach to Performance Optimization
- Analyzing Performance
- Optimizing Memory Access Patterns
- Optimizing Computation
- Summary
- 8. Performance Case Study—Reduction
- 9. Working with Multiple Accelerators
- 10. Cartoonizer Case Study
- 11. Graphics Interop
-
12. Tips, Tricks, and Best Practices
- Dealing with Tile Size Mismatches
- Initializing Arrays
- Function Objects vs. Lambdas
- Atomic Operations
- Additional C++ AMP Features on Windows 8
- Time-Out Detection and Recovery
- Double-Precision Support
- Debugging on Windows 7
- Additional Debugging Functions
- Deployment
- C++ AMP and Windows 8 Windows Store Apps
- Using C++ AMP from Managed Code
- Summary
- A. Other Resources
- Index
- About the Authors
- Copyright
Product information
- Title: C++ AMP
- Author(s):
- Release date: September 2012
- Publisher(s): Microsoft Press
- ISBN: 9780735664739
You might also like
audiobook
How to Do Nothing
A galvanizing critique of the forces vying for our attention-and our personal information-that redefines what we …
audiobook
Fall in Love with the Problem, Not the Solution
Unicorns-companies that reach a valuation of more than $1 billion-are rare. Uri Levine has built two. …
video
Introduction to ChatGPT and OpenAI
OpenAI ChatGPT is a powerful language model that uses advanced ML techniques to generate human-like text …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …