Пример #1
0
 def to_isl(self) -> isl.schedule_node:
     if self.parent is None:
         return isl.schedule(self.to_yaml()).get_root()
     node = self.get_root().to_isl()
     for i in self.get_path_from_root():
         node = node.child(i)
     return node
Пример #2
0
 def get_schedule(self):
     return isl.schedule(ctx=self.ctx,
         ptr=pet.pet_scop_get_schedule(self.ptr))
Пример #3
0
 def get_schedule(self):
     return isl.schedule(ctx=self.ctx,
                         ptr=pet.pet_scop_get_schedule(self.ptr))
Пример #4
0
 def to_isl(self) -> isl.schedule:
     return isl.schedule(self.to_yaml())