Cholesky Factorization on Batches of Matrices with Fixed and Variable Sizes