mirror of
https://github.com/opencv/opencv.git
synced 2025-06-13 04:52:53 +08:00
NPP : NppStreamHandler fix
This commit is contained in:
parent
2f9b4439af
commit
79af0bfccf
@ -152,7 +152,7 @@ namespace cv { namespace cuda
|
|||||||
|
|
||||||
inline ~NppStreamHandler()
|
inline ~NppStreamHandler()
|
||||||
{
|
{
|
||||||
cudaStreamSynchronize(oldStream);
|
nppSafeSetStream(nppGetStream(), oldStream);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user