Commit 12d1f6c4 authored by Alexander Alekhin's avatar Alexander Alekhin
Browse files

Merge pull request #2421 from vchiluka5:nvof-bug-fix

parents e8916dae abcd4480
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -578,11 +578,6 @@ void NvidiaOpticalFlowImpl::collectGarbage()
    {
        NVOF_API_CALL(GetAPI()->nvOFDestroy(m_hOF));
    }
    if (m_cuContext)
    {
        cuSafeCall(cudaDeviceReset());
        m_cuContext = nullptr;
    }
}

void NvidiaOpticalFlowImpl::upSampler(InputArray _flow, int width, int height,