cublasLtMatmulAlgoGetHeuristic - How does this function select the kernel based on various parameters?

Hi, I want to know how this function cublasLtMatmulAlgoGetHeuristic gets the best performing operator like ampere_sgemm_32x128__nt based on the GPU architecture and parameters like shape(m,n,k). Is there a formula? Also, is this function not open source?