Influence of heat flow control on dynamical spin injection in CoFeB/Pt/CoFeB trilayer