Adding shared memory transpose with ILP optimization