HDK
|
#include <inlined_containers_fwd.h>
Static Public Attributes | |
static constexpr size_t | kPreferredInlinedVectorSizeof = 64 |
static constexpr size_t | kElementSizeCutoff = 256 |
static constexpr size_t | InlinedVectorHeaderSize = sizeof(absl::InlinedVector<T, 1>) - sizeof(T) |
static constexpr size_t | PreferredInlineBytes = kPreferredInlinedVectorSizeof - InlinedVectorHeaderSize |
static constexpr size_t | NumElementsThatFit = PreferredInlineBytes / sizeof(T) |
static constexpr size_t | value |
Inspired by LLVM SmallVector with ONNX Runtime adjustments for abseil. https://github.com/llvm/llvm-project/blob/a85b37d0ca819776c6034c2dbda2b21e54e3393a/llvm/include/llvm/ADT/SmallVector.h#L1128-L1179
Helper class for calculating the default number of inline elements for InlinedVector<T>
. This produces the following on MSVC x64 int8_t -> 41
Definition at line 71 of file inlined_containers_fwd.h.
|
static |
Definition at line 113 of file inlined_containers_fwd.h.
|
static |
Definition at line 82 of file inlined_containers_fwd.h.
|
static |
Definition at line 79 of file inlined_containers_fwd.h.
|
static |
Definition at line 115 of file inlined_containers_fwd.h.
|
static |
Definition at line 114 of file inlined_containers_fwd.h.
|
static |
Definition at line 116 of file inlined_containers_fwd.h.