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