示例#1
0
文件: node.py 项目: dawnpower/pyvlova
 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
文件: pet.py 项目: Meinersbur/pet
 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())