Created by: bingyanghuang
This PR is based on PR #19996 to move the padding to the blas file which will not confuse the users.