This invention discloses a method and
system for heterogeneous GPU
hybrid scheduling of computing resources, belonging to the field of
computer equipment technology. The key technical points include: identifying the allocation type corresponding to the task to be allocated, including
single task allocation, group task allocation, and urgent task allocation; if the allocation type is group task allocation, obtaining the priority of each task in the group to be allocated; allocating the first task to a GPU node according to the priority, so that the GPU node generates an
affinity label between the first task and the unallocated tasks, the
affinity label responding to the identity
label of the unallocated tasks; and allocating the unallocated tasks to GPU nodes according to the
affinity label. This invention obtains the affinity
label through a response mechanism and performs task allocation based on the affinity
label, which reduces allocation time and improves scheduling efficiency compared to traversing a
lookup table to obtain the affinity relationship of unallocated tasks and then performing allocation.