sdk/linux_kernel_drivers/xocl/xocl_exec.c
/**
 * scheduler_loop() - Run one loop of the scheduler
 */
Run one loop of the scheduler
Run one loop of the scheduler
static void
scheduler_loop(struct xocl_sched *xs)
{
	SCHED_DEBUG("scheduler_loop\n");
	scheduler_wait(xs);
	if (xs->error) {
		DRM_INFO("scheduler encountered unexpected error and exits\n");
		return;
	}
	scheduler_queue_cmds(xs);
	scheduler_iterate_cmds(xs);
}
static void scheduler_loop ( struct xocl_sched * xs ) { SCHED_DEBUG ( " \n " ) ; scheduler_wait ( xs ) ; if ( xs -> error ) { DRM_INFO ( " \n " ) ; return ; } scheduler_queue_cmds ( xs ) ; scheduler_iterate_cmds ( xs ) ; }
scheduler_loop() - Run one loop of the scheduler
scheduler_loop () - Run one loop of the scheduler
/* queue new pending commands */ /* iterate all commands */