Correct the number of allowable power profiles
[ROCm/rocm_smi_lib commit: f083c9c919]
Ta zmiana jest zawarta w:
%! (template.HTML=
Chris Freehill)złożyło 2018-10-05 23:09:28 -05:00
1 rodzic
cdbb65e6ef
złożenie
e2b09ef8cd
Plik 1 zmieniony
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika