def __init__(self, filename, target=None): FTreeWalkerBase.__init__(self, filename) self.target = target self.scope_stack = [] self.insn_id_counter = 0 self.condition_id_counter = 0 self.kernels = [] self.instruction_tags = [] self.conditions = [] self.conditions_data = [] self.index_dtype = None self.block_nest = []
def __init__(self, filename, auto_dependencies): FTreeWalkerBase.__init__(self) self.auto_dependencies = auto_dependencies self.scope_stack = [] self.insn_id_counter = 0 self.condition_id_counter = 0 self.kernels = [] self.instruction_tags = [] self.conditions = [] self.filename = filename self.index_dtype = None self.block_nest = []
def __init__(self, filename, auto_dependencies, target=None): FTreeWalkerBase.__init__(self) self.auto_dependencies = auto_dependencies self.target = target self.scope_stack = [] self.insn_id_counter = 0 self.condition_id_counter = 0 self.kernels = [] self.instruction_tags = [] self.conditions = [] self.filename = filename self.index_dtype = None self.block_nest = []