| 572 | } |
| 573 | |
| 574 | bool GpuExecutor::Memcpy(Stream* stream, void* host_dst, |
| 575 | const DeviceMemoryBase& gpu_src, uint64 size) { |
| 576 | return GpuDriver::AsynchronousMemcpyD2H(context_, host_dst, |
| 577 | AsROCmDevicePtr(gpu_src), size, |
| 578 | AsGpuStreamValue(stream)); |
| 579 | } |
| 580 | |
| 581 | bool GpuExecutor::Memcpy(Stream* stream, DeviceMemoryBase* gpu_dst, |
| 582 | const void* host_src, uint64 size) { |
nothing calls this directly
no test coverage detected