modified trsm kernel