summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraristocratos <gnmjpl@gmail.com>2024-05-01 20:43:46 +0200
committeraristocratos <gnmjpl@gmail.com>2024-05-01 20:43:46 +0200
commitdd4ada7023223c610ccfad48ec3abe0500f91af5 (patch)
treefc960dc2b86fbd48f2f41d7b0b2223725eb07c9c
parentb48bf6ae453ca3fb855d40e918a1375b3b413396 (diff)
Fixed missing definition for ROCm static buildHEADmain
-rw-r--r--src/linux/btop_collect.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/linux/btop_collect.cpp b/src/linux/btop_collect.cpp
index 6154725..904e88b 100644
--- a/src/linux/btop_collect.cpp
+++ b/src/linux/btop_collect.cpp
@@ -158,9 +158,11 @@ namespace Gpu {
//? AMD data collection
namespace Rsmi {
+
+ //? RSMI defines, structs & typedefs
+ #define RSMI_DEVICE_NAME_BUFFER_SIZE 128
+
#if !defined(RSMI_STATIC)
- //? RSMI defines, structs & typedefs
- #define RSMI_DEVICE_NAME_BUFFER_SIZE 128
#define RSMI_MAX_NUM_FREQUENCIES_V5 32
#define RSMI_MAX_NUM_FREQUENCIES_V6 33
#define RSMI_STATUS_SUCCESS 0