Add optimization that can be used when CUDA 6.0 comes out.  Use new pointer attribute.