pseudo inverse

can anyone point me to CUDA code for calculating the pseudo inverse of a non-square matrix.

thanks,
melissa