def __find_implanted_scalar_archis(self): rel = os.path.join("arithmetic", "include", "nt2", "toolbox", "arithmetic", "function") return [ s for s in Nt2_archis_struct.get_supported_archis_tags() if exist(os.path.join(self.get_toolboxes_path(), rel, s)) ]
def __str__(self): r = "nt2 is situated at %s" % self.get_nt2_path() r += "\ntoolboxes are in %s" % self.get_toolboxes_path() r += "\nsupported simd archis are %s " % str(Nt2_archis_struct.get_supported_archis_tags()) r += "\nimplanted simd archis are %s " % self.get_implanted_simd_archis() r += "\nimplanted scalar archis are %s " % self.get_implanted_scalar_archis() r += "\nimplanted archis are %s " % self.get_implanted_archis() r += "\ntoolboxes list is" for t in self.get_toolbox_list(): r += "\n " + t r += "\ncurrent <<signature>> is %s " % self.get_author() return r
def __str__(self): r = "nt2 is situated at %s" % self.get_nt2_path() r += "\ntoolboxes are in %s" % self.get_toolboxes_path() r += "\nsupported simd archis are %s " % str( Nt2_archis_struct.get_supported_archis_tags()) r += "\nimplanted simd archis are %s " % self.get_implanted_simd_archis( ) r += "\nimplanted scalar archis are %s " % self.get_implanted_scalar_archis( ) r += "\nimplanted archis are %s " % self.get_implanted_archis() r += "\ntoolboxes list is" for t in self.get_toolbox_list(): r += "\n " + t r += "\ncurrent <<signature>> is %s " % self.get_author() return r
def __find_implanted_scalar_archis(self): return [ s for s in Nt2_archis_struct.get_supported_archis_tags() if exist(os.path.join(self.get_toolboxes_path(), "arithmetic/function/", s)) ]
def __find_implanted_scalar_archis(self) : rel= os.path.join("arithmetic","include","nt2","toolbox","arithmetic","function") return [s for s in Nt2_archis_struct.get_supported_archis_tags() if exist(os.path.join(self.get_toolboxes_path(),rel,s)) ]