Face recognition in CUDA

Hi everyone, this is raghuram. I am currently trying to implement PCA face recognition algorithm in CUDA. I am stuck in calculating the covariance matrix. It will be very helpful for me if somebody assists me in doing it. please contact me at raghuram22@gmail.com

Use this for the forumla/equation : http://en.wikipedia.org/wiki/Covariance_matrix

Analyze this for data dependencies and use that to determine your threading model.