cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
declarations.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_CONTAINER_DECLARATIONS_H
4#define pRC_CORE_CONTAINER_DECLARATIONS_H
5
6#include <prc/config.hpp>
8
9namespace pRC
10{
11 template<Allocation, class, Size...>
13
14 template<class T, Size... Ns>
16
17 template<class T, Size... Ns>
19
20 template<class T, Size... Ns>
21 using Array = Conditional<((Ns * ... * 1) * sizeof(T) > cHugepageSizeByte),
23
24 template<class T, Size N>
26}
27#endif // pRC_CORE_CONTAINER_DECLARATIONS_H
Definition declarations.hpp:12
Definition value.hpp:12
pRC::Float<> T
Definition externs_nonTT.hpp:1
Definition cholesky.hpp:10
std::size_t Size
Definition basics.hpp:31
constexpr Size cHugepageSizeByte
Definition config.hpp:51
Conditional<((Ns *... *1) *sizeof(T) > cHugepageSizeByte), HeapArray< T, Ns... >, StackArray< T, Ns... > > Array
Definition declarations.hpp:21
CommonArray(T const (&)[N]) -> CommonArray< Allocation::Stack, T, N >
std::conditional_t< B, T, F > Conditional
Definition basics.hpp:56
Allocation
Definition allocation.hpp:18