![]() |
ATLAS Offline Software
|
Namespaces | |
| Constants | |
| ! | |
| MemoryContext | |
| ! Holds dummy classes just to identify the place in which memory lives. | |
Classes | |
| struct | maybe_allocate |
| Possibly holds an object in its internal buffer. More... | |
| class | MemoryManagement |
! Handles allocation of a type T, using indexer as the integer type to indicate sizes. More... | |
| struct | separate_thread_accessor |
| ! More... | |
| class | separate_thread_holder |
Manages objects of type T in a thread-safe way, ensuring that there's an object available for each separate thread while minimizing the number of allocations. More... | |
| class | SimpleContainer |
Holds a run-time amount of objects of type \T, measuring sizes with indexer, in memory context Context. More... | |
| class | SimpleContainer< T, indexer, Context, false > |
| class | SimpleContainer< T, indexer, Context, true > |
| class | SimpleHolder |
Holds one objects of type \T in memory context Context. More... | |
| class | SimpleHolder< T, Context, false > |
| class | SimpleHolder< T, Context, true > |
Typedefs | |
| template<class T , class indexer = unsigned int> | |
| using | CPU_array = SimpleContainer< T, indexer, MemoryContext::CPU, true > |
Holds a run-time specified amount of objects of type T in CPU memory. More... | |
| template<class T , class indexer = unsigned int> | |
| using | CUDA_array = SimpleContainer< T, indexer, MemoryContext::CUDAGPU, true > |
Holds a run-time specified amount of objects of type T in CUDA GPU memory. More... | |
| template<class T , class indexer = unsigned int> | |
| using | CUDA_kernel_array = SimpleContainer< T, indexer, MemoryContext::CUDAGPU, false > |
Non-owning pointer to an array of T in CUDA GPU memory. More... | |
| template<class T > | |
| using | CPU_object = SimpleHolder< T, MemoryContext::CPU, true > |
Holds an object of type T in CPU memory. More... | |
| template<class T > | |
| using | CUDA_object = SimpleHolder< T, MemoryContext::CUDAGPU, true > |
Holds an object of type T in CUDA GPU memory. More... | |
| template<class T > | |
| using | CUDA_kernel_object = SimpleHolder< T, MemoryContext::CUDAGPU, false > |
Non-owning pointer to an object of type T in CUDA GPU memory. More... | |
| template<class T > | |
| using | CUDA_pinned_CPU_object = SimpleHolder< T, MemoryContext::CUDAPinnedCPU, true > |
Holds an object of type T in CUDA GPU memory. More... | |
Functions | |
| template<class T1 , class T2 > | |
| constexpr auto | int_ceil_div (const T1 num, const T2 denom) |
| Returns the ceiling of num/denom, with proper rounding. More... | |
| template<class T1 , class T2 > | |
| constexpr auto | int_floor_div (const T1 num, const T2 denom) |
| Returns the floor of num/denom, with proper rounding. More... | |
| template<class Base = float, class Exp = int> | |
| constexpr Base | compile_time_pow2 (const Exp exp) |
Returns 2 to the power of exp. More... | |
| template<class T > | |
| constexpr unsigned char | Pearson_hash (const T number) |
| Calculates a Pearson hash from @ number. More... | |
| template<class T > | |
| constexpr unsigned short | Pearson_hash_16_bit (const T number) |
| Calculates a 16-bit Pearson hash from @ number. More... | |
| using CaloRecGPU::Helpers::CPU_array = typedef SimpleContainer<T, indexer, MemoryContext::CPU, true> |
Holds a run-time specified amount of objects of type T in CPU memory.
Definition at line 1057 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
| using CaloRecGPU::Helpers::CPU_object = typedef SimpleHolder<T, MemoryContext::CPU, true> |
Holds an object of type T in CPU memory.
Definition at line 1455 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
| using CaloRecGPU::Helpers::CUDA_array = typedef SimpleContainer<T, indexer, MemoryContext::CUDAGPU, true> |
Holds a run-time specified amount of objects of type T in CUDA GPU memory.
Definition at line 1061 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
| using CaloRecGPU::Helpers::CUDA_kernel_array = typedef SimpleContainer<T, indexer, MemoryContext::CUDAGPU, false> |
Non-owning pointer to an array of T in CUDA GPU memory.
Definition at line 1065 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
| using CaloRecGPU::Helpers::CUDA_kernel_object = typedef SimpleHolder<T, MemoryContext::CUDAGPU, false> |
Non-owning pointer to an object of type T in CUDA GPU memory.
Definition at line 1463 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
| using CaloRecGPU::Helpers::CUDA_object = typedef SimpleHolder<T, MemoryContext::CUDAGPU, true> |
Holds an object of type T in CUDA GPU memory.
Definition at line 1459 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
| using CaloRecGPU::Helpers::CUDA_pinned_CPU_object = typedef SimpleHolder<T, MemoryContext::CUDAPinnedCPU, true> |
Holds an object of type T in CUDA GPU memory.
Definition at line 1467 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlineconstexpr |
Returns 2 to the power of exp.
Definition at line 229 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlineconstexpr |
Returns the floor of num/denom, with proper rounding.
Definition at line 222 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlineconstexpr |
Calculates a Pearson hash from @ number.
Definition at line 256 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlineconstexpr |
Calculates a 16-bit Pearson hash from @ number.
Definition at line 283 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
1.8.18