MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / UpdateUsageRecord

Function UpdateUsageRecord

tensorflow/lite/delegates/gpu/gl/runtime.cc:351–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349
350template <typename TensorSizeT>
351void 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
357struct AddUsageRecordForTextureFunc {
358 void operator()(const uint3& size) const {

Callers 2

operator()Method · 0.85
AddUsageRecordFunction · 0.85

Calls 2

minFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected