Hi,
this modification is done in make_loop which is used only for tensor of size <=1, make_reordered_loop is used for dim > 1 and in that case I use pragma only for outer loop.