some updates for cuda 5.0 sdk