Commit faafb315 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #11550 from tomoaki0705:fixCudaAsync

parents b83bc8b3 e2c78788
...@@ -152,7 +152,7 @@ namespace cv { namespace cuda ...@@ -152,7 +152,7 @@ namespace cv { namespace cuda
inline ~NppStreamHandler() inline ~NppStreamHandler()
{ {
nppSetStream(oldStream); cudaStreamSynchronize(oldStream);
} }
private: private:
......
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