| 1570 | } |
| 1571 | |
| 1572 | void ChannelImpl::DynamicSublinear::unpin( |
| 1573 | const SmallVector<TensorInfo*>& vec, size_t& dtr_evictee_minimum_size) { |
| 1574 | for (auto i : vec) { |
| 1575 | i->unpin(); |
| 1576 | if (i->pinned == 0 && i->size_exceeds_thd(dtr_evictee_minimum_size) && |
| 1577 | i->cand_index == UINT_MAX) { |
| 1578 | insert_candidate(i); |
| 1579 | } |
| 1580 | } |
| 1581 | } |
| 1582 | |
| 1583 | void ChannelImpl::DynamicSublinear::update_dsu_after_recompute(TensorInfo* ptr) { |
| 1584 | auto&& dsu_fa = find_father(ptr->dsu_ptr); |
no test coverage detected