aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/vespa/eval/eval/dense_cells_value.cpp
blob: 94b65d6452f8d2d0ba1de44ca5179ea9d1cf0883 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. 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>;

}