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
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))])
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]