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

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

parents e8916dae abcd4480
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment