def __init__(self, tb_name, fct_list=None, modes=['scalar','simd'], parts=["unit","cover"], platform='sse', show=True, write_files=False, check_on_write=True, backup_on_write=True, verbose=False) : self.tb_name =tb_name Nt2_tb_props.__init__(self,tb_name) if fct_list is None : self.fcts = self.get_fcts_list() elif isinstance(fct_list,str ) : self.fcts = [fct_list] else : self.fcts = fct_list self.parts = parts if isinstance(self.parts,str ) : self.parts = [self.parts] self.modes = modes if isinstance(self.modes,str ) : self.modes = [self.modes] self.platform=platform self.show = show self.write_files =write_files self.check_on_write = check_on_write self.backup_on_write = backup_on_write self.verbose=verbose
def __init__(self, tb_name, fct_list=None, modes=['scalar', 'simd'], parts=["unit", "cover"], platform='sse', show=True, write_files=False, check_on_write=True, backup_on_write=True, verbose=False): self.tb_name = tb_name Nt2_tb_props.__init__(self, tb_name) if fct_list is None: self.fcts = self.get_fcts_list() elif isinstance(fct_list, str): self.fcts = [fct_list] else: self.fcts = fct_list self.parts = parts if isinstance(self.parts, str): self.parts = [self.parts] self.modes = modes if isinstance(self.modes, str): self.modes = [self.modes] self.platform = platform self.show = show self.write_files = write_files self.check_on_write = check_on_write self.backup_on_write = backup_on_write self.verbose = verbose
def __init__(self, tb_name, fct_name, mode="scalar", submode="") : Nt2_tb_props.__init__(self, tb_name) # Nt2_base_infos.__init__(self) # Nt2_tb_struct.__init__(self) # self.__tb_name = tb_name self.__fct_name = fct_name self.__mode = mode self.__fct_arities = self.__read_arities() self.__fct_ret_arity = self.__read_ret_arity()
def __init__(self, tb_name, fct_name, mode="scalar", submode="") : Nt2_tb_props.__init__(self, tb_name) self.__fct_name = fct_name self.__mode = mode self.__fct_arities = self.__read_arities() self.__fct_ret_arity = self.__read_ret_arity()
def __init__(self, tb_name) : Nt2_tb_props.__init__(self,tb_name)
def __init__(self, tb_name, fct_name, mode="scalar", submode="") : Nt2_tb_props.__init__(self, tb_name) self.__fct_name = fct_name self.__mode = mode self.__fct_arities = self.__read_arities() self.__fct_ret_arity = self.__read_ret_arity()