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

Method CopyDeviceToDevice

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

Source from the content-addressed store, hash-verified

133 }
134
135 Status CopyDeviceToDevice(uintptr_t dst, uintptr_t src, int64_t nbytes) {
136 ContextSaver set_temporary(context_);
137 CU_RETURN_NOT_OK("cuMemcpyDtoD", cuMemcpyDtoD(dst, src, static_cast<size_t>(nbytes)));
138 return Status::OK();
139 }
140
141 Status CopyDeviceToAnotherDevice(const std::shared_ptr<CudaContext>& dst_ctx,
142 uintptr_t dst, uintptr_t src, int64_t nbytes) {

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected