Upstream: Fix CUDA 6.0 performance issues with help from Nvidia's Paulius Micikevicius,
Jerry Chen, and Cliff Woolley.