[FEA] java HostMemoryBuffer should mirror copy functions in BaseDeviceMemoryBuffer
Open
feature request
Java
Spark
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
We have some places where we would like a host buffer to be able to copy:
1. Given a source/destination offset
2. Given a stream
3. From host or from device buffers.
Currently `HostMemoryBuffer` does allow wholesale copies of device buffers, and even using a stream, but there is no way I can find to do this at an offset. I can think of ways of hacking around it, but it would be best if the APIs were similar for both buffer types.
Contributor guide
Assessment
This issue has not been assessed yet.