(self)
return dev_list
Get list of nvidia devices related to cuda
Get list of nvidia devices related to cuda
Get list of nvidia devices related to cuda
def get_devices(self):
        """Get list of nvidia devices related to cuda"""
        dev_list = []
        for dev in Config.conf['nvi_dev_list']:
            for expanded_devs in glob.glob(dev + '*'):
                dev_list.append(expanded_devs)
        Msg().out("Info: nvidia device list", dev_list, l=Msg.DBG)
        return dev_list
def get_devices ( self ) : dev_list = [ ] for dev in Config . conf [ 'nvi_dev_list' ] : for expanded_devs in glob . glob ( dev + '*' ) : dev_list . append ( expanded_devs ) Msg ( ) . out ( "Info: nvidia device list" , dev_list , l = Msg . DBG ) return dev_list