| 349 | |
| 350 | template <typename TensorSizeT> |
| 351 | void UpdateUsageRecord(TensorUsageRecord<TensorSizeT>* usage_rec, |
| 352 | size_t task_id) { |
| 353 | usage_rec->first_task = std::min(usage_rec->first_task, task_id); |
| 354 | usage_rec->last_task = std::max(usage_rec->last_task, task_id); |
| 355 | } |
| 356 | |
| 357 | struct AddUsageRecordForTextureFunc { |
| 358 | void operator()(const uint3& size) const { |
no test coverage detected