TRQ-2207. Fix some compilation issues in the nvidia specific code.
Merge branch 'master' of https://github.com/adaptivecomputing/torque