![]() |
PhoenixHardware
0.2.0
Tools to get hardware information
|
Go to the source code of this file.
Functions | |
void | phoenix_copyShape (size_t *&destTabDim, const size_t *tabDim, size_t nbDim) |
Copy a shape of a tensor into an other. | |
void | phoenix_copyShape (size_t *&destTabDim, size_t &destNbDim, const size_t *tabDim, size_t nbDim) |
Copy a shape of a tensor into an other. | |
size_t | phoenix_getFullSize (const size_t *tabDim, size_t nbDim) |
Get the fulle size of the tensor. | |
bool | phoenix_isSameShape (const size_t *tabDim1, size_t nbDim1, const size_t *tabDim2, size_t nbDim2) |
Say if two shapes are the same or not. | |
void phoenix_copyShape | ( | size_t *& | destTabDim, |
const size_t * | tabDim, | ||
size_t | nbDim ) |
Copy a shape of a tensor into an other.
[out] | destTabDim | : copy of the table of the size of each dimension |
tabDim | : table of the size of each dimension | |
nbDim | : number of dimensions |
Definition at line 28 of file phoenix_template_alloc.cpp.
Referenced by phoenix_copyShape().
void phoenix_copyShape | ( | size_t *& | destTabDim, |
size_t & | destNbDim, | ||
const size_t * | tabDim, | ||
size_t | nbDim ) |
Copy a shape of a tensor into an other.
[out] | destTabDim | : copy of the table of the size of each dimension |
[out] | destNbDim | : copy of the number of dimensions |
tabDim | : table of the size of each dimension | |
nbDim | : number of dimensions |
Definition at line 47 of file phoenix_template_alloc.cpp.
References phoenix_copyShape().
size_t phoenix_getFullSize | ( | const size_t * | tabDim, |
size_t | nbDim ) |
Get the fulle size of the tensor.
tabDim | : table of the dimensions of the tensor |
nbDim | : number of dimensions of the tensor |
Definition at line 15 of file phoenix_template_alloc.cpp.
Referenced by phoenix_template_alloc().
bool phoenix_isSameShape | ( | const size_t * | tabDim1, |
size_t | nbDim1, | ||
const size_t * | tabDim2, | ||
size_t | nbDim2 ) |
Say if two shapes are the same or not.
tabDim1 | : table of the size of each dimension |
nbDim1 | : number of dimensions |
tabDim2 | : table of the size of each dimension |
nbDim2 | : number of dimensions |
Definition at line 59 of file phoenix_template_alloc.cpp.