cuda.TextureReference.set_array(tex_ref, cu_array) -> tex_ref.set_array(cu_array) See merge request !134