BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News C++ AMP Provides Massive Parallelism

C++ AMP Provides Massive Parallelism

Bookmarks

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
Style

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.

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

Community comments

  • C++0x & C99

    by Paulo Pinto,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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

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

BT