RE: [PATCH rdma-core 3/5] pyverbs: Add dma-buf based MR support

Xiong, Jianxin
2020-11-24T16:21:32Z

> -----Original Message-----
> From: Jason Gunthorpe <jgg@ziepe.ca>
> Sent: Tuesday, November 24, 2020 7:36 AM
> To: Daniel Vetter <daniel@ffwll.ch>
> Cc: Xiong, Jianxin <jianxin.xiong@intel.com>; Leon Romanovsky <leon@kernel.org>; linux-rdma@vger.kernel.org; dri-
> devel@lists.freedesktop.org; Doug Ledford <dledford@redhat.com>; Vetter, Daniel <daniel.vetter@intel.com>; Christian Koenig
> <christian.koenig@amd.com>
> Subject: Re: [PATCH rdma-core 3/5] pyverbs: Add dma-buf based MR support
>
> On Tue, Nov 24, 2020 at 04:16:58PM +0100, Daniel Vetter wrote:
>
> > Compute is the worst, because opencl is widely considered a mistake
> > (maybe opencl 3 is better, but nvidia is stuck on 1.2). The actually
> > used stuff is cuda (nvidia-only), rocm (amd-only) and now with intel
> > also playing we have xe (intel-only).
>
> > It's pretty glorious :-/
>
> I enjoyed how the Intel version of CUDA is called "OneAPI" not "Third API" ;)
>
> Hopefuly xe compute won't leave a lot of half finished abandoned kernel code like Xeon Phi did :(
>
> > Also I think we discussed this already, but for actual p2p the intel
> > patches aren't in upstream yet. We have some internally, but with very
> > broken locking (in the process of getting fixed up, but it's taking time).
>
> Someone needs to say this test works on a real system with an unpatched upstream driver.
>
> I thought AMD had the needed parts merged?

Yes, I have tested these with AMD GPU.

>
> Jason