xtensor-stack / xtensor

C++ tensors with broadcasting and lazy computing
BSD 3-Clause "New" or "Revised" License
3.37k stars 399 forks source link

overload reducer assign to use immediate reducer #666

Open wolfv opened 6 years ago

wolfv commented 6 years ago

If a reduction is assigned to a container, we can use the immediate reducer that has better vectorization capabilities and is therefore faster.

JohanMabille commented 6 years ago

This is evil! (sorry ;))

wolfv commented 6 years ago

This is ready to be implemented now! :)