MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / wait

Method wait

Source/Falcor/Core/API/CopyContext.cpp:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void CopyContext::wait(Fence* pFence, uint64_t value)
101{
102 FALCOR_CHECK(pFence, "'fence' must not be null");
103 uint64_t waitValue = value == Fence::kAuto ? pFence->getSignaledValue() : value;
104 gfx::IFence* fences[] = {pFence->getGfxFence()};
105 uint64_t waitValues[] = {waitValue};
106 FALCOR_GFX_CALL(mpLowLevelData->getGfxCommandQueue()->waitForFenceValuesOnDevice(1, fences, waitValues));
107}
108
109#if FALCOR_HAS_CUDA
110void CopyContext::waitForCuda(cudaStream_t stream)

Callers 2

submitMethod · 0.45
getDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected