summaryrefslogtreecommitdiffstats
path: root/glances/plugins/gpu/cards/amd.py
diff options
context:
space:
mode:
Diffstat (limited to 'glances/plugins/gpu/cards/amd.py')
-rw-r--r--glances/plugins/gpu/cards/amd.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/glances/plugins/gpu/cards/amd.py b/glances/plugins/gpu/cards/amd.py
new file mode 100644
index 00000000..0db760a9
--- /dev/null
+++ b/glances/plugins/gpu/cards/amd.py
@@ -0,0 +1,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