Home
last modified time | relevance | path

Searched refs:mem_events (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dmemory_scheduler.cc208 auto &mem_events = item.second; in CountMemUsage() local
209 if (mem_events.empty()) { in CountMemUsage()
212 auto first_event = mem_events[0]; in CountMemUsage()
215 if (first_event->type == kInit && mem_events.size() > 1) { in CountMemUsage()
216 first_event = mem_events[1]; in CountMemUsage()
219 auto last_event = mem_events[mem_events.size() - 1]; in CountMemUsage()
227 for (; i < mem_events.size(); ++i) { in CountMemUsage()
228 auto &event = mem_events[i]; in CountMemUsage()
260 auto &mem_events = item.second; in GenEventSpan() local
261 if (mem_events.empty()) { in GenEventSpan()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_scheduler.cpp470 memory_event_set mem_events; member
481 memset(&query->mem_events, 0, sizeof(query->mem_events)); in init_hazard_query()
527 add_memory_event(&query->mem_events, instr, &sync); in add_to_hazard_query()
585 memory_event_set* second = &query->mem_events; in perform_hazard_query()