FasTensor  1.0.0
Transform Supercomputing for AI
Functions
ft_array_transpose.h File Reference

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...
 

Function Documentation

◆ transpose_data_2D()

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

Author: Bin Dong dbin@.nosp@m.lbl..nosp@m.gov Web: https://crd.lbl.gov/bin-dong Scientific Data Management Research Group Lawrence Berkeley National Laboratory

Template Parameters
T,thedata element type of data
Parameters
src,pointerto the source buffer
dst,pointerto the target buffer
N,thesize of the first dimension of src
M,thesize of the second dimension of src