'Update the GPU stats'

@GlancesPlugin._check_decorator
@GlancesPlugin._log_result_decorator
def update(self):

    self.reset()
    if (not self.nvml_ready):
        return self.stats
    if (self.input_method == 'local'):
        self.stats = self.get_device_stats()
    elif (self.input_method == 'snmp'):
        pass
    return self.stats
