The application provides a runtime task scheduling method,
system, medium and product based on a
hardware abstraction layer. The
software scheduler replaces the traditional hardware scheduling unit, simplifies the
system architecture, saves the hardware
firmware development, and lightens the design of the driver, runtime, etc., thereby reducing the development and maintenance cost. The task is no longer issued in the form of a data packet as in the industry, but directly transmits the parameters required by the task to execute on the hardware unit, thereby shortening the task preparation and
verification process. The hardware is directly operated based on the
hardware abstraction layer, thereby reducing the performance overhead caused by frequent
system calls, shortening the task issuance
delay, and reducing the
power consumption. Based on the
information transmission carrier of the task context and the strict in-
order scheduling characteristics of the flow and the synchronization between flows, the task is executed according to the
time sequence and the dependency relationship, the differentiated scheduling requirements of different AI operation tasks are adapted, and the
adaptation capability of the system to the complex application scenarios is enhanced.