MCPcopy Create free account
hub / github.com/apache/arrow / CopyDeviceToHost

Method CopyDeviceToHost

cpp/src/arrow/gpu/cuda_context.cc:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 }
128
129 Status CopyDeviceToHost(void* dst, uintptr_t src, int64_t nbytes) {
130 ContextSaver set_temporary(context_);
131 CU_RETURN_NOT_OK("cuMemcpyDtoH", cuMemcpyDtoH(dst, src, static_cast<size_t>(nbytes)));
132 return Status::OK();
133 }
134
135 Status CopyDeviceToDevice(uintptr_t dst, uintptr_t src, int64_t nbytes) {
136 ContextSaver set_temporary(context_);

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected