2d matrix transposition on host vs on GPU