Device-specific : Fixed silly bug in row-wise reduction template
Device-Specific : Further stabilization of the row-wise reduction template