# in the root of ck_tile, after you build this example
# in the root of ck_tile, after you build this example
sh example/ck_tile/06_permute/script/smoke_test.sh
sh example/ck_tile/06_permute/script/smoke_test.sh
```
```
### alternative implementation
we have an alternative implementation under `alternative_impl/` folder, that can swizzle the tensor to be more friendly for data loading for matrix core layout. This can be enabled when dealing with a `rank-7` tensor, with a fixed pattern of either `0,1,4,2,5,3,6` or `0,1,2,4,5,3,6`. There are other shape limitation of this implementation, check the source code of `permute.cpp` for detail.