PhoenixHardware  0.2.0
Tools to get hardware information
Loading...
Searching...
No Matches
phoenix_transpose.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7
8
9#ifndef __PHOENIX_TRANSPOSE_H__
10#define __PHOENIX_TRANSPOSE_H__
11
13
14template<typename T, typename U>
15void phoenix_transpose_copy(T* __restrict__ ptabOutput, const U * __restrict__ ptabInput,
16 size_t nbRowOut, size_t nbColOut, size_t outputPadding, bool isTransposed);
17
18template<typename T, typename U>
19void phoenix_transpose_block(T* __restrict__ ptabOutput, const U * __restrict__ ptabInput,
20 size_t nbRowOut, size_t nbColOut, size_t nbBlockRowOut, size_t nbBlockColOut, size_t outputPadding);
21
22template<typename T, typename U>
23void phoenix_transpose_block_copy(T* __restrict__ ptabOutput, const U * __restrict__ ptabInput,
24 size_t nbRowOut, size_t nbColOut, size_t nbBlockRowOut, size_t nbBlockColOut, size_t outputPadding, bool isTransposed);
25
26template<typename T, typename U>
27void phoenix_transpose_block(T* __restrict__ ptabOutput, const U * __restrict__ ptabInput,
28 size_t nbSlice, size_t nbPixel, size_t nbBlockSlice, size_t nbBlockPixel, size_t outputPadding);
29
31
32#endif
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.