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

Method Synchronize

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

Source from the content-addressed store, hash-verified

148 }
149
150 Status Synchronize(void) {
151 ContextSaver set_temporary(context_);
152 CU_RETURN_NOT_OK("cuCtxSynchronize", cuCtxSynchronize());
153 return Status::OK();
154 }
155
156 Status Free(void* device_ptr, int64_t nbytes) {
157 CU_RETURN_NOT_OK("cuMemFree", cuMemFree(reinterpret_cast<CUdeviceptr>(device_ptr)));

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected