MCPcopy Create free account
hub / github.com/XpuOS/xsched / EnableSynchronization

Method EnableSynchronization

platforms/cuda/hal/src/common/cuda_command.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39bool CudaCommand::EnableSynchronization()
40{
41 if (following_event_ != nullptr) return true;
42 following_event_ = CudaEventPool::Pop(ctx_);
43 return following_event_ != nullptr;
44}
45
46CUresult CudaCommand::LaunchWrapper(CUstream stream)
47{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected