bheisler / RustaCUDA

Rusty wrapper for the CUDA Driver API
Apache License 2.0
765 stars 58 forks source link

`LockedBox` is missing; there is no way to asynchronously memcpy `DeviceBox` D2H or H2D #69

Open WilliamVenner opened 2 years ago

WilliamVenner commented 2 years ago

Maybe this is by design, but there is currently no way to asynchronously memcpy DeviceBox

DeviceBox's AsyncCopyDestination implementation only allows for device-to-device copies, there is no way to do a device-to-host or host-to-device asynchronous memcpy for a DeviceBox.