This application relates to the field of
resource allocation technology, and discloses a heterogeneous
resource scheduling method, a heterogeneous
resource scheduling device, a computing device, and a computer-readable storage medium. Applied to a computing device, the computing device includes various computing resources. The method includes:
parsing the task to be allocated, generating multiple subtasks and task attribute identifiers corresponding to each subtask; determining the execution order of the multiple subtasks according to priority;
processing each subtask according to the execution order; calculating a cost function based on the task attribute identifiers and the target
performance model of each computing resource; scheduling the subtasks to the computing resource with the minimum cost function; and simultaneously obtaining
multiple target performance indicators fed back by the computing resources and updating the target
performance model. Through the above method, the collaborative execution of heterogeneous resources is achieved, and it can adapt to dynamic changes in hardware performance, ensuring that all subtasks in the task to be allocated can be executed efficiently.