CUDA 5 and timing fix