9#ifndef __PHOENIX_TRANSPOSE_H__
10#define __PHOENIX_TRANSPOSE_H__
14template<
typename T,
typename U>
16 size_t nbRowOut,
size_t nbColOut,
size_t outputPadding,
bool isTransposed);
18template<
typename T,
typename U>
20 size_t nbRowOut,
size_t nbColOut,
size_t nbBlockRowOut,
size_t nbBlockColOut,
size_t outputPadding);
22template<
typename T,
typename U>
24 size_t nbRowOut,
size_t nbColOut,
size_t nbBlockRowOut,
size_t nbBlockColOut,
size_t outputPadding,
bool isTransposed);
26template<
typename T,
typename U>
28 size_t nbSlice,
size_t nbPixel,
size_t nbBlockSlice,
size_t nbBlockPixel,
size_t outputPadding);
void phoenix_transpose_block(T *__restrict__ ptabOutput, const U *__restrict__ ptabInput, size_t nbRowOut, size_t nbColOut, size_t nbBlockRowOut, size_t nbBlockColOut, size_t outputPadding)
Transpose and convert the table of U into a table of T.
void phoenix_transpose_block_copy(T *__restrict__ ptabOutput, const U *__restrict__ ptabInput, size_t nbRowOut, size_t nbColOut, size_t nbBlockRowOut, size_t nbBlockColOut, size_t outputPadding, bool isTransposed)
Convert the table of U into a table of T.
void phoenix_transpose_copy(T *__restrict__ ptabOutput, const U *__restrict__ ptabInput, size_t nbRowOut, size_t nbColOut, size_t outputPadding, bool isTransposed)
Convert the table of U into a table of T.