コード例 #1
0
 def _set_write(self, name, interval, node):
     if name not in self._recent_write_acc:
         self._recent_write_acc[name] = IntervalMapping()
     if not self._axes[name][2]:
         interval = Interval.full()
     self._recent_write_acc[name][interval] = node
コード例 #2
0
 def add_write_after_read_edges(self, node):
     interval = Interval.full()
     return self._add_write_after_read_edges(
         node, [(interval, self._get_access_collection(node))])
コード例 #3
0
 def _get_recent_writes(self, name, interval):
     if name not in self._recent_write_acc:
         self._recent_write_acc[name] = IntervalMapping()
     if not self._axes[name][2]:
         interval = Interval.full()
     return self._recent_write_acc[name][interval]