Using multidimensional arrays xtensor libary performs parallelization of the inner-most loop in assignments (xasssign.h:). This creates a massive overhead compared to parallelization of the outer loop (just imagine a 100x100x100 array) .
In addition, OpenMP could be combined with TBB.
Currently users are forced to implement these loops manually and turn off xtensors OpenMP usage.
Using multidimensional arrays xtensor libary performs parallelization of the inner-most loop in assignments (xasssign.h:). This creates a massive overhead compared to parallelization of the outer loop (just imagine a 100x100x100 array) .
In addition, OpenMP could be combined with TBB.
Currently users are forced to implement these loops manually and turn off xtensors OpenMP usage.