Home | History | Annotate | Download | only in kernels

Lines Matching refs:sq

77 int64 SizeOf(const SubQueue& sq) {
83 int64 SizeOf(const std::deque<PersistentTensor>& sq) {
84 if (sq.empty()) {
87 return sq.size() * sq.front().AllocatedBytes();
91 int64 SizeOf(const std::vector<PersistentTensor>& sq) {
92 if (sq.empty()) {
95 return sq.size() * sq.front().AllocatedBytes();
101 int64 SizeOf(const std::priority_queue<TensorPair, U, V>& sq) {
102 if (sq.empty()) {
105 return sq.size() * (sizeof(TensorPair) + sq.top().second.AllocatedBytes());
114 for (const auto& sq : queues_) {
115 memory_size += SizeOf(sq);