Merge pull request #3 from RadeonOpenCompute/roc-1.9.x

Correct the number of allowable power profiles

[ROCm/amdsmi commit: e046fbdddf]
Tá an tiomantas seo le fáil i:
cfreehill
2018-10-05 23:14:47 -05:00
tiomanta ag GitHub
tuismitheoir d473141165 e9c1e36301
tiomantas f57e0f0040
+1 -1
Féach ar an gComhad
@@ -184,7 +184,7 @@ typedef uint64_t rsmi_bit_field;
/**
* @brief Number of possible power profiles that a system could support
*/
#define RSMI_MAX_NUM_POWER_PROFILES sizeof(rsmi_bit_field)
#define RSMI_MAX_NUM_POWER_PROFILES (sizeof(rsmi_bit_field) * 8)
/**
* @brief This structure contains information about which power profiles are