Parallel Programming with Microsoft Visual C++

Wednesday, March 9th, 2011

Last fall we shipped Parallel Programming for Microsoft .NET and immediately started working on a companion version of the book for C++ programmers. I’m very happy to announce that Parallel Programming with Microsoft Visual C++: Design patterns for Decomposition, and Coordination on Multicore Architectures is now available! Please feel free to ...

Using CUDA and Thrust with Visual Studio 2010

Sunday, March 6th, 2011

Using CUDA 4.0 RC2? Read the update post here. I was working on setting up some new CUDA projects as I’m doing some spiking (prototyping for the not so agile crowd) work to figure out how best to use CUDA 4.0. I’ve turned it in to a quick tutorial on how ...

Final Draft Chapters of Parallel Programming with C++ Online

Wednesday, January 26th, 2011

This week we have the final chapters for “Parallel Programming with Microsoft Visual C++”. The latest drop on CodePlex includes another new chapter and an appendix: Chapter 3 – Parallel Aggregation Chapter 2 shows how to use parallel techniques that apply the same independent operation to many input values. However, not all ...

Parallel Programming with Microsoft Visual C++

Friday, January 21st, 2011

This week we have some more material available for “Parallel Programming with Microsoft Visual C++”. The latest drop on CodePlex includes another new chapter and an appendix: Chapter 3 – Parallel Tasks Chapter 2 shows how you can use a parallel loop to ...

What’s Next for Parallel Programming and Visual Studio?

Monday, January 17th, 2011

If you’re interested in some of the things that Microsoft is thinking about when it comes to parallel programming and Visual Studio then you should definitely check out this talk. While I was off speaking in Sweden, China and Japan everyone else was at TechEd Europe in Berlin. Here’s what ...

Parallel Programming with Microsoft Visual C++

Friday, January 14th, 2011

This week we have some more material available for “Parallel Programming with Microsoft Visual C++”. The latest drop on CodePlex includes another new chapter and the glossary: Chapter 2 – Parallel Loops Use the Parallel Loop pattern when you need to perform the ...

Parallel Programming with Microsoft Visual C++

Tuesday, January 4th, 2011

So it’s been a while but we now have some more material available for “Parallel Programming with Microsoft Visual C++”. The latest drop on CodePlex includes two new chapters: Chapter 6 - Dynamic Task Parallelism This chapter discusses situations where tasks are added to the work queue as the computation proceeds. This ...

Parallel Programming with Microsoft Visual C++

Saturday, October 30th, 2010

As I’ve mentioned before we’ve been quietly working away on version of the .NET Parallel Programming book for C++ developers who want to use the Parallel Patterns Library or Asynchronous Agents Library to add parallelism to their applications. Well… we now have some draft chapters and example code ready for review. Preface This ...

Exception Handling with the Task Parallel Library

Thursday, October 21st, 2010

One of the attendees at the p&p Symposium had some questions about how exceptions are handled in the Task Parallel Library. This is covered both in the book and in the MSDN library (references below). But… Here’s a quick summary with code examples.

C++Ox, Lambdas and Lots of Brackets

Friday, October 1st, 2010

The p&p dev team today had a random C++ moment (don’t worry it doesn’t happen often). I’ve been playing around with C++, writing samples for “Parallel Programming with Microsoft Visual C++” and am a big fan of the new C++0x lambda syntax. It does however make heavy use of brackets. The ...