Test Categories for Visual C++

Wednesday, April 30th, 2014

Recently I’ve been using the Visual Studio unit test runner for C++ and came across a trick for adding categories to C++ tests. While the test framework supports traits, a little work makes them much more usable. BEGIN_TEST_METHOD_ATTRIBUTE(methodName) ...

C++AMP Samples Updated for Visual Studio 2013

Wednesday, October 23rd, 2013

Visual Studio 2013 shipped last week and I found some time to look at the new C++AMP features over the weekend. Most importantly to make sure that the book samples still work. The 1.0 (VS 2013 compatible) release fixes a couple of warnings in the DX Util library and one ...

Running Batch Files on Visual Studio 2010 Project Items

Sunday, June 26th, 2011

This is something I wrote as an answer on StackOverflow. I dug it out again the other day as I needed it for something else. I have a horrible memory and my blog is essentially just a glorified indexing system for it. Ade’s brain is now, like everything else indexed ...

Visual Studio 2010 and CUDA

Sunday, May 8th, 2011

So I finally got around to taking a stab at getting the CUDA 4.0 RC2 SDK up and running in between talks at ALT.NET Seattle. I’m really hoping this is the last tutorial. It’s gotten a lot simpler to build CUDA on Windows in the last couple of releases. Update June 19th ...

Using CUDA and Thrust with VS 2010 Part 2: x64 Builds

Saturday, April 9th, 2011

In the first part of this tutorial I covered getting started with CUDA on Visual Studio 2010. The post didn’t talk about building x64 targets. A couple of people asked about this so I’ve upgraded the example to build both x86 and x64. This is very easy to do provided ...

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 ...

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 ...

CUDA and Intellisense updated

Sunday, December 12th, 2010

I updated my post on adding intellisense support for CUDA. Visual Studio 2010 Adding Intellisense Support for CUDA C It now includes more instructions on setting the project include path and what headers need to be included.

Visual Studio 2010 Adding Intellisense Support for CUDA C

Thursday, October 28th, 2010

Someone asked me how to get intellisense working with CUDA files. So here’s a quick post on the couple of simple steps it takes to get it working… The following assumes you’ve setup a CUDA project with the correct include paths and it builds correctly.

A Guide to Parallel Programming – Drafts of Chapters 3 & 4

Monday, May 31st, 2010

We’ve just dropped another two chapters and sample code to the Parallel Programming Guide to CodePlex site. These next two draft chapters are: Chapter 3 Parallel Tasks Chapter 2 shows how you can use a parallel loop to ...