blob: 42e470caf4cf63e68683d44d8e3ba29d32a407e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "dense_cells_value.h"
namespace vespalib::eval {
template<typename T> DenseCellsValue<T>::~DenseCellsValue() = default;
template<typename T> MemoryUsage
DenseCellsValue<T>::get_memory_usage() const {
auto usage = self_memory_usage<DenseCellsValue<T>>();
usage.merge(vector_extra_memory_usage(_cells));
return usage;
}
template class DenseCellsValue<double>;
template class DenseCellsValue<float>;
template class DenseCellsValue<BFloat16>;
template class DenseCellsValue<Int8Float>;
}
|