Home | History | Annotate | Download | only in stream_executor

Lines Matching refs:it

31   for (auto it = records_.begin(); it != records_.end(); ++it) {
32 DeviceMemoryBase device_memory = it->first;
40 auto it = records_.find(device_memory);
41 if (it == records_.end()) {
48 it->second.finalized = true;
54 for (auto it = records_.begin(); it != records_.end();) {
55 if (it->second.finalized) {
56 DeviceMemoryBase device_memory = it->first;
59 it = records_.erase(it);
61 ++it;
70 auto it = records_.find(device_memory);
71 if (it == records_.end()) {
72 return true; // If there's no record present it's vacuously finalized.
75 if (it->second.allocation_generation == allocation_generation) {
76 return it->second.finalized;
79 // If the allocation generation did not match, it's vacuously true.
86 auto it = records_.find(device_memory);
87 if (it == records_.end()) {
90 return it->second.allocation_generation == generation;