![]() |
FasTensor
1.0.0
Transform Supercomputing for AI
|
Go to the source code of this file.
Functions | |
| template<class T > | |
| void | transpose_data_2D (T *src, T *dst, const int N, const int M) |
| transpose data in 2D from src to dst More... | |
| void transpose_data_2D | ( | T * | src, |
| T * | dst, | ||
| const int | N, | ||
| const int | M | ||
| ) |
transpose data in 2D from src to dst
Author: Bin Dong dbin@lbl.gov Web: https://crd.lbl.gov/bin-dong Scientific Data Management Research Group Lawrence Berkeley National Laboratory
| T,the | data element type of data |
| src,pointer | to the source buffer |
| dst,pointer | to the target buffer |
| N,the | size of the first dimension of src |
| M,the | size of the second dimension of src |