Skip to content

Commit

Permalink
Fixed missing definition for ROCm static build
Browse files Browse the repository at this point in the history
  • Loading branch information
aristocratos committed May 1, 2024
1 parent b48bf6a commit dd4ada7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/linux/btop_collect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd4ada7

Please sign in to comment.