Homework submission

A lot of configuration to tweak!

NVCC.exe currently uses -G instead of -G0 as the trigger of debug mode.
So you may want to change the corresponding parameter in CUDA 4.0.xml to make sure successful compiling.