src/occ_405/gpu/gpu.c
// Disable GPU monitoring for all GPUs
Disable GPU monitoring for all GPUs
Disable GPU monitoring for all GPUs
void disable_all_gpus(void)
{
    uint8_t i = 0;
    occ_i2c_lock_release(GPU_I2C_ENGINE);
    G_gpu_monitoring_allowed = FALSE;
    for (i=0; i<MAX_NUM_GPU_PER_DOMAIN; i++)
    {
        g_amec->gpu[i].status.disabled = TRUE;
    }
}
void disable_all_gpus ( void ) { uint8_t i = 0 ; occ_i2c_lock_release ( GPU_I2C_ENGINE ) ; G_gpu_monitoring_allowed = FALSE ; for ( i = 0 ; i < MAX_NUM_GPU_PER_DOMAIN ; i ++ ) { g_amec -> gpu [ i ] . status . disabled = TRUE ; } }
Disable GPU monitoring for all GPUs
Disable GPU monitoring for all GPUs
// release I2C lock to the host for this engine and stop monitoring // mark all GPUs as disabled