KhronosGroup / KhronosGroup/OpenCL-Docs
OpenCL 3.0 extentions for remote DMA?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 421
- Forks
- 132
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 11
Description
On a lot of scenarios, GPUs and other accelerators are used in combination with each other, and in communicate with other non-accelerator devices such as NIC cards, proprietary FPGAs, frame grabbers etc.
Currently, Memory transfers between devices have to travel through host memory, unless special extensions are used.
Both NVidia and AMD offer extensions to support remote DMA with other devices sharing the same PCIe bus: GPUDirect RDMA (Cuda-linux only) and DirectGMA (AMD))
These extensions are almost trivial to implement on the driver level - merely exposing a physical bus address to which another device can potentially perform DMA.
Their usefulness of direct memory access between devices without having to go through host-memory is enormous, and in my opinion is a natural feature for an API such as OpenCL. Which strives to be available on a broad variety of device configurations.
Has the working group considered such extensions?
(It is my understanding the the new async-dma extentions are something completely different)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the OpenCL 3.0 async-DMA extensions and the issue's references to GPUDirect RDMA and AMD DirectGMA. Determine whether remote device-to-device DMA belongs in an OpenCL extension, and document a decided specification direction; the issue currently asks a design question rather than naming files or tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100