SpiecsEngine
Loading...
Searching...
No Matches
◆
align_up()
template<class integral >
constexpr integral Spices::MemoryLibrary::align_up
(
integral
x
,
size_t
a
)
inline
static
constexpr
noexcept
Align up a memory size aligned with specific value.
Parameters
[in]
x
memory size.
[in]
a
aligned size.
Definition at line
54
of file
MemoryLibrary.h
.
55
{
56
SPICES_PROFILE_ZONE
;
57
58
return
integral((x + (integral(a) - 1)) & ~integral(a - 1));
59
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices
MemoryLibrary
Generated on Sun Mar 8 2026 10:24:49 for SpiecsEngine by
1.10.0