sdk/linux_kernel_drivers/xocl/xocl_exec.c
/**
 * running_to_complete() - Check status of running commands
 *
 * @xcmd: Command is in running state
 *
 * If a command is found to be complete, it marked complete prior to return
 * from this function.
 */
Check status of running commands
@xcmd: Command is in running state

If a command is found to be complete, it marked complete prior to return
from this function.
Check status of running commands @xcmd : Command is in running state If a command is found to be complete it marked complete prior to return from this function .
static void
running_to_complete(struct xocl_cmd *xcmd)
{
	SCHED_DEBUG("-> running_to_complete\n");
	xcmd->xdev->exec.ops->query(xcmd);
	SCHED_DEBUG("<- running_to_complete\n");
}
static void running_to_complete ( struct xocl_cmd * xcmd ) { SCHED_DEBUG ( " \n " ) ; xcmd -> xdev -> exec . ops -> query ( xcmd ) ; SCHED_DEBUG ( " \n " ) ; }
running_to_complete() - Check status of running commands
 @xcmd: Command is in running state
running_to_complete () - Check status of running commands @xcmd : Command is in running state