PhoenixHardware
0.2.0
Tools to get hardware information
Toggle main menu visibility
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
12
#include "
phoenix_assume_aligned.h
"
13
14
template
<
typename
T,
typename
U>
15
void
phoenix_transpose_copy
(T* __restrict__ ptabOutput,
const
U * __restrict__ ptabInput,
16
size_t
nbRowOut,
size_t
nbColOut,
size_t
outputPadding,
bool
isTransposed);
17
18
template
<
typename
T,
typename
U>
19
void
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
22
template
<
typename
T,
typename
U>
23
void
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
26
template
<
typename
T,
typename
U>
27
void
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
30
#include "
phoenix_transpose_impl.h
"
31
32
#endif
phoenix_assume_aligned.h
phoenix_transpose_block
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.
Definition
phoenix_transpose_impl.h:53
phoenix_transpose_block_copy
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.
Definition
phoenix_transpose_impl.h:86
phoenix_transpose_copy
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.
Definition
phoenix_transpose_impl.h:22
phoenix_transpose_impl.h
src
phoenix_transpose.h
Generated by
1.17.0