C++ AMP Provides Massive Parallelism

| by Abel Avram Follow 9 Followers on Jun 16, 2011. Estimated reading time: 1 minute |

Microsoft wants to give C++ developers tools for writing parallel applications running on zillions of GPUs/cores locally or in the cloud.

Visual Studio C++ 2010 enables developers to write programs that take advantage of local parallel hardware such as multicore CPU using the Concurrency Runtime which has four major components: Parallel Patterns Library (PPL), Asynchronous Agents Library, Task Scheduler, and Resource Manager. But Microsoft wants to extend Visual C++ parallelism support even further. Herb Sutter, Microsoft Principal Architect, Native Languages, has announced a new C++ library called Accelerated Massive Parallelism (C++ AMP), at AMD Fusion Developer Summit. AMP extends parallelism support to local GPGPU and Accelerated Processing Unit (APU), and intends to cover it all the way to the cloud.

Microsoft wants to make C++ AMP available on all sorts of heterogeneous parallel hardware including multicore systems and clouds, aiming to support applications running on hundreds of thousands of cores/GPUs in the cloud.

C++ AMP introduces just one language extension, and makes use of DirectX 11’s DirectCompute API which offers general processing support on GPGPUs, “the architecture being such, that at this point can be thought of as an implementation detail that does not surface to the API layer”, according to Daniel Moth, Senior Program Manager at Microsoft.

C++ AMP will be an open specification, and Microsoft will provide a first implementation some time this year, but full support for this technology is to be included in the next version of Visual C++. C++ AMP will be basically an STL-like library “as part of the existing concurrency namespace and delivered in the new amp.h header file”, wrote Moth. Programming with AMP will benefit from all programming support available in VS: intellisense, building, debugging, profiling, etc.

Moth promised he will show C++ AMP code samples on his blog in the following months.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

C++0x & C99 by Paulo Pinto

I would prefer Microsoft spends their resources improving C++ compliance to the new C++ standard, and stop being the only vendor not supporting C99.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you