(self, library_path)
return dir_list
Find host nvidia libraries via path
Find host nvidia libraries via path
Find host nvidia libraries via path
def _find_host_dir_ldpath(self, library_path):
        """Find host nvidia libraries via path"""
        dir_list = set()
        if library_path:
            for libdir in library_path.split(':'):
                for lib in self._nvidia_main_libs:
                    if glob.glob(libdir + "/%s*" % lib):
                        dir_list.add(os.path.realpath(libdir) + '/')
        Msg().out("Info: List nvidia libs via path", dir_list, l=Msg.DBG)
        return dir_list
def _find_host_dir_ldpath ( self , library_path ) : dir_list = set ( ) if library_path : for libdir in library_path . split ( ':' ) : for lib in self . _nvidia_main_libs : if glob . glob ( libdir + "/%s*" % lib ) : dir_list . add ( os . path . realpath ( libdir ) + '/' ) Msg ( ) . out ( "Info: List nvidia libs via path" , dir_list , l = Msg . DBG ) return dir_list