Series: Developer Reference
Paperback: 356 pages
Publisher: Microsoft Press; 1 edition (September 25, 2012)
Product Dimensions: 7.4 x 0.9 x 8.9 inches
Shipping Weight: 1.3 pounds (View shipping rates and policies)
Average Customer Review: 4.8 out of 5 stars See all reviews (8 customer reviews)
Best Sellers Rank: #958,860 in Books (See Top 100 in Books) #14 in Books > Computers & Technology > Programming > Languages & Tools > C & C++ > Visual C++ #86 in Books > Computers & Technology > Programming > Parallel Programming #182 in Books > Computers & Technology > Hardware & DIY > Peripherals
Many know that Microsoft runs background development projects that come to light from time to time with surprising advances. "C++ AMP" reveals one of those surprises that give a wake up call to programmers and technologists about the hidden computing reserves hiding in the depths of the GPU card. AMP is Microsofts foray into this area of "desktop supercomputing". The book introduces AMP by using a c++ starfield simulation that evolves from chapter to chapter. Starting with an introduction to the history of computing advancements, the book shows how Accelerated Massive Parallelism ( AMP ) is attainable on your personal computer.There is an entry fee for this power. You will need to be comfortable programming in c++ and you must have a recently manufactured GPU. Furthermore, AMP is available only using the Microsoft Visual Studio 2012. The cost of the book is merely pocket change in comparison. However, I have built the starfield simulation expressed in this book and I can personally attest to a computing amplification of 112 times that of my CPU alone. The internet contains further details of how to get a high performance GPU to produce over 700 GFlops. If your hair is not standing on end by now, you don't have the heart of a technologist. This is equivalent to having a car that can do 20,000 miles per hour. Personal planitary transportation anyone? Then read a bit further.Of course there are competing computing models that don't require Visual Studio 2012. Both OpenCL and CUDA programing SDKs can get you into the stratosphere on both Windows and Linux machines using their own c++ compilers. But, you won't have the integrated tools that Visual Studio can apply to load balancing and program testing.
C++ AMP - Accelerated Massive Parallelism with Microsoft Visual C++ is the first book on the market to address the C++ AMP API. I preordered it months ago and when it finally arrived, I devoured it in just a few days.The book starts with an overview of General Purpose GPU computing and how C++ AMP provides the developer the ability to write naturally parallel general purpose solutions (normally executed on the CPU) in C++ that will execute on the GPU.Immediately following, in chapter 2, is a taste of the power of using Accelerated Massive Parallelism on the GPU, an NBody program that simulates the gravitational interaction between thousands of stars in 2 star clusters. Implemented first on the CPU and then with C++ AMP. The results are startling.Then the learning begins with the C++ AMP API, which is implemented entirely with C++ templates and just 2 new keywords added to the C++ language. The authors explain the fundamentals of C++ AMP and provide enough code to demonstrate the handful of templates that make up the API. This is followed by more advanced techniques (Tiling) that speed up your C++ AMP programs even more.As the book progresses, you will learn how to debug your C++ AMP code with the support for C++ AMP that was added to Visual Studio 2012: IntelliSence, GPU debugging and profiling with the concurrency visualizer. A few case studies, with plenty of code, are used to demonstrate what you have learned.Other chapters include: Optimization, Working with Multiple Accelerators, Graphics Interop with Direct3D and the books finale with Tips, Tricks, and Best Practices.
C++ AMP (Developer Reference) Ic Op-Amp Cookbook Field-Effect Transistor Amp Analysis and Design Garfield: Hambre de Diversion (AMP! Comics for Kids) (Spanish Edition) The iOS 5 Developer's Cookbook: Core Concepts and Essential Recipes for iOS Programmers (Developer's Library) The Swift Developer's Cookbook (includes Content Update Program) (Developer's Library) Inside Windows Debugging (Developer Reference) Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference) T-SQL Querying (Developer Reference) Object Thinking (Developer Reference) Windows® Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (Developer Reference) Programming for the Internet of Things: Using Windows 10 IoT Core and Azure IoT Suite (Developer Reference) Windows Internals, Part 1 (6th Edition) (Developer Reference) COM Programming with Microsoft .NET (Developer Reference) F# for C# Developers (Developer Reference) Microsoft® DirectX® 9 Programmable Graphics Pipeline (Developer Reference) Microsoft ASP.NET and AJAX: Architecting Web Applications (Developer Reference) Microsoft® Visual C++® .NET Deluxe Learning Edition--Version 2003 (Developer Reference) Microsoft Visual C# Step by Step (8th Edition) (Developer Reference) C# for Java Developers (Developer Reference)