You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"_rapl_init_component (cidx=) at components/rapl/linux-rapl.c:506
506 strCpy=strncpy(_rapl_vector.cmp_info.disabled_reason,
(gdb) list
501 msr_pkg_energy_status=MSR_AMD_PKG_ENERGY_STATUS;
502 msr_pp0_energy_status=MSR_AMD_PP0_ENERGY_STATUS;
503
504 if (hw_info->cpuid_family!=0x17) {
505 /* Not a family 17h machine */
506 strCpy=strncpy(_rapl_vector.cmp_info.disabled_reason,
507 "CPU family not supported",PAPI_MAX_STR_LEN);
508 _rapl_vector.cmp_info.disabled_reason[PAPI_MAX_STR_LEN-1]=0;
509 if (strCpy == NULL) HANDLE_STRING_ERROR;
510 retval = PAPI_ENOIMPL;"
The 0x17 check in 504 doesnt work for Milan. After disabling this check, RAPL worked.
The text was updated successfully, but these errors were encountered:
if ((hw_info->cpuid_family!=0x17) && (hw_info->cpuid_family!=0x19))
BUT (and that's a big "but"), Family 25 includes multiple different Zen3 and Zen4 CPUs. This means that (a) it needs to be tested on all Family 25 CPUs, and it must work on all of them. Otherwise, the part after "AND" needs to be more restricted.
"_rapl_init_component (cidx=) at components/rapl/linux-rapl.c:506
506 strCpy=strncpy(_rapl_vector.cmp_info.disabled_reason,
(gdb) list
501 msr_pkg_energy_status=MSR_AMD_PKG_ENERGY_STATUS;
502 msr_pp0_energy_status=MSR_AMD_PP0_ENERGY_STATUS;
503
504 if (hw_info->cpuid_family!=0x17) {
505 /* Not a family 17h machine */
506 strCpy=strncpy(_rapl_vector.cmp_info.disabled_reason,
507 "CPU family not supported",PAPI_MAX_STR_LEN);
508 _rapl_vector.cmp_info.disabled_reason[PAPI_MAX_STR_LEN-1]=0;
509 if (strCpy == NULL) HANDLE_STRING_ERROR;
510 retval = PAPI_ENOIMPL;"
The 0x17 check in 504 doesnt work for Milan. After disabling this check, RAPL worked.
The text was updated successfully, but these errors were encountered: