Parallel Programming in Native Code

Parallel programming using C++ AMP, PPL and Agents libraries.

C++ AMP in a nutshell

C++ AMP in a nutshell

  • Comments 4

With Visual Studio 2012, you are able to get your hands on a new technology that enables you to tap into the power of heterogeneous hardware and specifically take advantage of accelerators such as the GPU for compute purposes: C++ AMP.

So you'll create an empty C++ project, add a new code file, stick a #include <amp.h> at the top, then add a using namespace concurrency; and then what? I suggest you try typing in our example C++ AMP matrix multiplication code, and trying it out on your DirectX 11 hardware, or download one of our many C++ AMP samples. including the simplistic "Hello World" code.

Then, you can play around with all the new constructs we've added, following the description of each from the following posts:

Beyond the core API above, there is even more for you to explore

If the above is not enough reading, you can read the 130 pages of the C++ AMP open specification.

Beyond the API and language, there is fantastic Visual Studio integration (intellisense, code navigation, project and build system, etc) and in particular I encourage you to explore the support for

You'll no doubt have questions and feedback, and we truly look forward to taking those in our dedicated Native Parallelism forum. Enjoy!

Blog - Comment List MSDN TechNet
  • Loading...
Leave a Comment
  • Please add 3 and 2 and type the answer here:
  • Post