sdk/linux_kernel_drivers/xocl/xocl_exec.c
/**
 * penguin_query() - Check command status of argument command
 *
 * @xcmd: Command to check
 *
 * Function is called in penguin mode (no embedded scheduler).
 */
Check command status of argument command
@xcmd: Command to check

Function is called in penguin mode (no embedded scheduler).
Check command status of argument command @xcmd : Command to check Function is called in penguin mode ( no embedded scheduler ) .
static void
penguin_query(struct xocl_cmd *xcmd)
{
	u32 opc = opcode(xcmd);
	SCHED_DEBUGF("-> penguin_queury() slot_idx=%d\n",xcmd->slot_idx);
	if (opc==ERT_CONFIGURE || (opc==ERT_START_CU && cu_done(xcmd->xdev,get_cu_idx(xcmd->xdev,xcmd->slot_idx))))
		mark_cmd_complete(xcmd);
	SCHED_DEBUG("<- penguin_queury\n");
}
static void penguin_query ( struct xocl_cmd * xcmd ) { u32 opc = opcode ( xcmd ) ; SCHED_DEBUGF ( " \n " , xcmd -> slot_idx ) ; if ( opc == ERT_CONFIGURE || ( opc == ERT_START_CU && cu_done ( xcmd -> xdev , get_cu_idx ( xcmd -> xdev , xcmd -> slot_idx ) ) ) ) mark_cmd_complete ( xcmd ) ; SCHED_DEBUG ( " \n " ) ; }
penguin_query() - Check command status of argument command
 @xcmd: Command to check
penguin_query () - Check command status of argument command @xcmd : Command to check