I’m having for some matrices on my batch exception due singular matrices.


cholesky_cpu: For batch 51100: U(22,22) is zero, singular U


I would like to ignore the exception for those and further set as Nan is it possible somehow?
Actually if I catch the exception and use continue still it doesn’t finish the calculations of the other matrices.