First time here? Check out the FAQ!
answered 2012-08-07 07:13:43 -0600
It seems like it's bug in documentation and sample code. There are no overloaded operators +,-,+=,etc for GpuMat.
Use gpu::subtract(b.sigma1_2, b.mu1_2, b.sigma1_2, stream);
gpu::subtract(b.sigma1_2, b.mu1_2, b.sigma1_2, stream)