PhoenixHardware
0.2.0
Tools to get hardware information
Loading...
Searching...
No Matches
phoenix_allocAlignedVector.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
#ifndef __PHOENIX_ALLOC_ALIGNED_VECTOR_H__
8
#define __PHOENIX_ALLOC_ALIGNED_VECTOR_H__
9
10
#include <stdlib.h>
11
12
void
*
phoenix_allocAlignedTab
(
size_t
sizeOfVectorInBytes,
size_t
alignementInBytes);
13
void
phoenix_freeAlignedVector
(
void
* ptr);
14
15
16
#endif
17
phoenix_allocAlignedTab
void * phoenix_allocAlignedTab(size_t sizeOfVectorInBytes, size_t alignementInBytes)
Alloc an aligned vector.
Definition
phoenix_allocAlignedVector.cpp:35
phoenix_freeAlignedVector
void phoenix_freeAlignedVector(void *ptr)
Free the aligned vector.
Definition
phoenix_allocAlignedVector.cpp:49
src
phoenix_allocAlignedVector.h
Generated by
1.13.2