I"m using nppsMeanStdDev_32f twice,
First time i use it with myStream1 after calling API
nppSetStream(myStream1) => Results are OK
Than After destroying myStream1 and free device memory, i allocated memory and created myStream2 and called API
nppSetStream(myStream2)
this time after executing nppsMeanStdDev_32f i got “no error” status ,
But the results are wrong - all zero.
If i called nppSetStream(0) before releasing the memory than the results wereOK.
Is it a bug or maybe it is required but omitted from documentation?
Regards
Shlomi
NppClass.cpp (4.2 KB)