summaryrefslogtreecommitdiffstats
path: root/glances/plugins/gpu/cards/amd.py
blob: 0db760a9cc2a354c8a6660968a59c862f2ebe9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- coding: utf-8 -*-
#
# This file is part of Glances.
#
# SPDX-FileCopyrightText: 2024 Nicolas Hennion <nicolas@nicolargo.com>
#
# SPDX-License-Identifier: LGPL-3.0-only
#

"""AMD Extension unit for Glances' GPU plugin."""


class AmdGPU:
    """GPU card class."""

    def __init__(self):
        """Init AMD  GPU card class."""
        pass

    def exit(self):
        """Close AMD GPU class."""
        pass

    def get_device_stats(self):
        """Get AMD GPU stats."""
        stats = []
        return stats