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 | |
constexpr int | int_ceil_div (const int num, const int denom) |
Returns the ceiling of num/denom, with proper rounding. More... | |
constexpr int | int_floor_div (const int num, const int 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 1050 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 1448 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 1054 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 1058 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 1456 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 1452 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 1460 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlineconstexpr |
Returns 2 to the power of exp
.
Definition at line 227 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
Returns the floor of num/denom, with proper rounding.
Definition at line 220 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlineconstexpr |
Calculates a Pearson hash from @ number.
Definition at line 254 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.
|
inlineconstexpr |
Calculates a 16-bit Pearson hash from @ number.
Definition at line 281 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.