Пример #1
0
 def __init__(self,tb_name,fct_name,no_simd=False) :
     Base_gen.__init__(self, tb_name, fct_name, 'scalar')
     Nt2_tb_struct.__init__(self)
     self.tb_files  = self.get_rel_tb_unique_files(tb_name)
     self.fct_files = self.get_rel_tb_fcts_files(tb_name,fct_name)
     self.unique_files = self.get_rel_tb_unique_files(tb_name)
     self.no_simd = no_simd
Пример #2
0
 def __init__(self, tb_name, fct_name, no_simd=False):
     Base_gen.__init__(self, tb_name, fct_name, 'scalar')
     Nt2_tb_struct.__init__(self)
     self.tb_files = self.get_rel_tb_unique_files(tb_name)
     self.fct_files = self.get_rel_tb_fcts_files(tb_name, fct_name)
     self.unique_files = self.get_rel_tb_unique_files(tb_name)
     self.no_simd = no_simd
Пример #3
0
 def __init__(self, tb_name):
     Nt2_modules.__init__(self)
     Nt2_tb_struct.__init__(self)
     self.__tb_name = tb_name
     self.__md_path = os.path.join(self.get_nt2_path(), 'modules',
                                   self.demangle(tb_name))
     self.__tb_style = self.get_module_style(tb_name)
Пример #4
0
 def __init__(self,tb_name,style='sys') :
     Nt2_base_infos.__init__(self)
     Nt2_tb_struct.__init__(self)
     self.tb_name = tb_name
     self.style = style
     self.primary_abs_tb_path = os.path.join(self.get_toolboxes_path(),tb_name)
     self.secundary_abs_tb_path = os.path.join(self.primary_abs_tb_path,'include','nt2','toolbox',tb_name)
     self.part = ""
Пример #5
0
 def __init__(self, tb_name, style='sys'):
     Nt2_base_infos.__init__(self)
     Nt2_tb_struct.__init__(self)
     self.tb_name = tb_name
     self.style = style
     self.primary_abs_tb_path = os.path.join(self.get_toolboxes_path(),
                                             tb_name)
     self.secundary_abs_tb_path = os.path.join(self.primary_abs_tb_path,
                                               'include', 'nt2', 'toolbox',
                                               tb_name)
     self.part = ""
Пример #6
0
 def __init__(self, tb_name) :
     Nt2_modules.__init__(self)
     Nt2_tb_struct.__init__(self)
     self.__tb_name = tb_name
     self.__md_path = os.path.join(self.get_nt2_path(),'modules',self.demangle(tb_name))
     self.__tb_style = self.get_module_style(tb_name)
Пример #7
0
 def __init__(self, tb_name) :
     Nt2_base_infos.__init__(self)
     Nt2_tb_struct.__init__(self)
     self.__tb_name = tb_name
     self.__tb_path = os.path.join(self.get_nt2_path(),'nt2/toolbox',tb_name)
     self.__tb_style = self. __read_style()