update for CUDA 5.0