Hi:
I am implementing RDMA between a Nvidia GPU and our own device on Windows.
After I call these APIs:
CUdeviceptr deviceptr;
cuMemAddressReserve(&deviceptr, size, align, 0, 0);
CUmemGenericAllocationHandle allocationHandle; // the physical handle for device memory
cuMemCreate(&allocationHandle, size, prop, 0);
ret = cuMemMap(deviceptr, size, 0, allocationHandle, 0);
I get the virtual address pointer deviceptr.
How do I translate it into a physical address so I can pass it a third-party device and it start a DMA to the address?
Thanks
Kevin