![]() |
ATLAS Offline Software
|
! Handles allocation of a type T, using indexer as the integer type to indicate sizes.
More...
#include <Helpers.h>
Static Public Member Functions | |
| template<class Context> | |
| static T * | allocate (const indexer size) |
| ! | |
| template<class Context> | |
| static void | deallocate (T *&arr) |
| ! | |
| template<class DestContext, class SourceContext> | |
| static void | copy (T *dest, const T *const source, const indexer sz) |
| ! | |
| template<class DestContext, class SourceContext> | |
| static void | move (T *&dest, T *&source, const indexer sz) |
| ! | |
! Handles allocation of a type T, using indexer as the integer type to indicate sizes.
Definition at line 647 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlinestatic |
!
Allocates size elements from memory context Context
Definition at line 791 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlinestatic |
!
Copies sz bytes from source in SourceContext to dest in DestContext
Definition at line 823 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlinestatic |
!
Deallocates arr from memory context Context
Definition at line 805 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlinestatic |
!
Moves sz bytes from source in SourceContext to dest in DestContext (performing the necessary data transfers and deallocations when the contexts are different). source is set to null and dest may be nulled if sz is 0 or source is null too.
Definition at line 841 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.