MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Memcpy

Method Memcpy

tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:574–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574bool 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
581bool GpuExecutor::Memcpy(Stream* stream, DeviceMemoryBase* gpu_dst,
582 const void* host_src, uint64 size) {

Callers

nothing calls this directly

Calls 2

AsROCmDevicePtrFunction · 0.85
AsGpuStreamValueFunction · 0.85

Tested by

no test coverage detected