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

Method Synchronize

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

Source from the content-addressed store, hash-verified

329}
330
331Status CudaDevice::Stream::Synchronize() const {
332 ContextSaver set_temporary(reinterpret_cast<CUcontext>(context_.get()->handle()));
333 CU_RETURN_NOT_OK("cuStreamSynchronize", cuStreamSynchronize(value()));
334 return Status::OK();
335}
336
337Status CudaDevice::SyncEvent::Wait() {
338 ContextSaver set_temporary(reinterpret_cast<CUcontext>(context_.get()->handle()));

Callers 3

TEST_FFunction · 0.45
DoExchangeMethod · 0.45
TestDoPutMethod · 0.45

Calls 4

valueFunction · 0.70
OKFunction · 0.50
handleMethod · 0.45
getMethod · 0.45

Tested by 3

TEST_FFunction · 0.36
DoExchangeMethod · 0.36
TestDoPutMethod · 0.36