src/components/rocm_smi/linux-rocm-smi.c
// rsmi_dev_ecc_count_get is an enum with 14 settings; each will be a separate event.
rsmi_dev_ecc_count_get is an enum with 14 settings; each will be a separate event.
rsmi_dev_ecc_count_get is an enum with 14 settings ; each will be a separate event .
static int er_ecc_count_uncorrectable(int myIdx)            
{
    int idx = AllEvents[myIdx].baseIdx;
    rsmi_error_count_t* data = (rsmi_error_count_t*) AllEvents[idx].vptr; 
    AllEvents[myIdx].value = data->uncorrectable_err;       
    return(PAPI_OK);                                        
}
static int er_ecc_count_uncorrectable ( int myIdx ) { int idx = AllEvents [ myIdx ] . baseIdx ; rsmi_error_count_t * data = ( rsmi_error_count_t * ) AllEvents [ idx ] . vptr ; AllEvents [ myIdx ] . value = data -> uncorrectable_err ; return ( PAPI_OK ) ; }
rsmi_dev_ecc_count_get is an enum with 14 settings; each will be a separate event.
rsmi_dev_ecc_count_get is an enum with 14 settings ; each will be a separate event .
// NOT THE BASE EVENT; Base event already called. // get a shortcut.  // Copy/convert the returned value for uncorrectable. // Done.