src/components/rocm_smi/linux-rocm-smi.c
// get rid of everything in the event set.
get rid of everything in the event set.
get rid of everything in the event set .
static int _rocm_smi_cleanup_eventset(hwd_control_state_t * ctrl)
{
    SUBDBG("Entering _rocm_smi_cleanup_eventset\n");
    (void) ctrl;
    int i;
    for (i=0; i<TotalEvents; i++) {         
        AllEvents[i].read=0;
    }
    ActiveEvents = 0;                       
    return (PAPI_OK);
}
static int _rocm_smi_cleanup_eventset ( hwd_control_state_t * ctrl ) { SUBDBG ( " \n " ) ; ( void ) ctrl ; int i ; for ( i = 0 ; i < TotalEvents ; i ++ ) { AllEvents [ i ] . read = 0 ; } ActiveEvents = 0 ; return ( PAPI_OK ) ; }
get rid of everything in the event set.
get rid of everything in the event set .
// Reset all events. // No active events.