reduce code generation and minor speed up
reduce code generation and minor speed up

ROCmSoftwarePlatform/hipeigen,pasuka/eigen,ritsu1228/eigen,pasuka/eigen,ritsu1228/eigen,TSC21/Eigen,Zefz/eigen,ROCmSoftwarePlatform/hipeigen,pasuka/eigen,Zefz/eigen,toastedcrumpets/eigen,TSC21/Eigen,toastedcrumpets/eigen,ritsu1228/eigen,Zefz/eigen,ROCmSoftwarePlatform/hipeigen,ritsu1228/eigen,Zefz/eigen,TSC21/Eigen,pasuka/eigen,ROCmSoftwarePlatform/hipeigen,TSC21/Eigen,pasuka/eigen,toastedcrumpets/eigen,toastedcrumpets/eigen,ritsu1228/eigen