Constant variance algorithm with CUDA Image processing

Hello everyone,

Using the code sample of the Sobelfilter, I’m trying to create the constant Variance algorithm with CUDA.
I’ve got something but I’m not satisfied by the results. Indeed, I can only display my frame ten times a second whereas it’s more than 200 times with the classic Sobelfilter.
Does anyone know this specific algorithm and how fast the picture should be displayed?

Thanks

“Code or it didn’t happen!”

I think we need to see some CUDA code before anyone here would consider making a comment. ;)