I missed that this is actually a member function. Better call it directly to make it also work with cuda.SurfaceReference.
cuda.SurfaceReference