CUDA 2.1 emulation mode problems

A few days ago I had to try to run CUDA 2.1 in emulation mode on a windows machine with non-cuda compatible graphics hardware. To my surprise the examples did compile but not run. After some searching around I found the problem in cutilinline.h. I think. I posted the workaround at the nvidia forums. Just thought I should drop a small line here to double link so that it would be easier to find.