src/runtime_src/ert/scheduler/sched_cu.h
/* Read status from HW and cache them. Expensive! */
Read status from HW and cache them. Expensive!
Read status from HW and cache them . Expensive!
static inline void cu_load_status(struct sched_cu *cu)
{
	uint32_t hw = reg_read(cu->cu_addr);
	if (cu_has_status(cu, SCHED_AP_START) && !(hw & SCHED_AP_START))
		hw |= SCHED_AP_READY;
	cu_set_status(cu, hw);
}
static inline void cu_load_status ( struct sched_cu * cu ) { uint32_t hw = reg_read ( cu -> cu_addr ) ; if ( cu_has_status ( cu , SCHED_AP_START ) && ! ( hw & SCHED_AP_START ) ) hw |= SCHED_AP_READY ; cu_set_status ( cu , hw ) ; }
Read status from HW and cache them.
Read status from HW and cache them .
/*
	 * Based on UG902, when AP_READY is set, AP_START will be cleared, which can be used
	 * to detect if CU is ready for input or not.
	 */