METHOD, DEVICE, AND COMPUTER PROGRAM PRODUCT FOR ASSIGNING TASKS TO DEDICATED PROCESSING RESOURCES
First Claim
1. A method of assigning tasks to dedicated processing resources, comprising:
- obtaining hardware information of a plurality of dedicated processing resources, the plurality of dedicated processing resources comprising a first dedicated processing resource and a second dedicated processing resource, and the hardware information comprising first hardware information of the first dedicated processing resource and second hardware information of the second dedicated processing resource;
generating a first task based on the first hardware information and a second task based on the second hardware information; and
allocating the first task to the first dedicated processing resource and the second task to the second dedicated processing resource.
8 Assignments
0 Petitions
Accused Products
Abstract
A method comprises obtaining hardware information of a plurality of dedicated processing resources, wherein the plurality of dedicated processing resources comprises a first dedicated processing resource and a second dedicated processing resource, and the hardware information comprises first hardware information of the first dedicated processing resource and second hardware information of the second dedicated processing resource. The method further comprises generating a first task based on the first hardware information and a second task based on the second hardware information, and allocating the first task to the first dedicated processing resource and the second task to the second dedicated processing resource. For task scheduling in heterogeneous dedicated processing resources (for example, accelerator devices) scenario, the method generates corresponding kernel codes according to different hardware capabilities. Thus, dynamic optimization for the heterogeneous dedicated processing resources is implemented, thereby improving resource utilization rate and execution efficiency.
7 Citations
20 Claims
-
1. A method of assigning tasks to dedicated processing resources, comprising:
-
obtaining hardware information of a plurality of dedicated processing resources, the plurality of dedicated processing resources comprising a first dedicated processing resource and a second dedicated processing resource, and the hardware information comprising first hardware information of the first dedicated processing resource and second hardware information of the second dedicated processing resource; generating a first task based on the first hardware information and a second task based on the second hardware information; and allocating the first task to the first dedicated processing resource and the second task to the second dedicated processing resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A device of assigning tasks to dedicated processing resources, comprising:
-
a processing unit; and a memory coupled to the processing unit and storing instructions thereon, the instructions, when executed by the processing unit, executing the acts comprising; obtaining hardware information of a plurality of dedicated processing resources, the plurality of dedicated processing resources comprising a first dedicated processing resource and a second dedicated processing resource, and the hardware information comprising first hardware information of the first dedicated processing resource and second hardware information of the second dedicated processing resource; generating a first task based on the first hardware information and a second task based on the second hardware information; and allocating the first task to the first dedicated processing resource and the second task to the second dedicated processing resource. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product that is tangibly stored on a non-transient computer readable medium and comprises computer-executable instructions, the computer-executable instructions, when executed, causing a computer to execute a method of assigning tasks to dedicated processing resources, comprising:
-
obtaining hardware information of a plurality of dedicated processing resources, the plurality of dedicated processing resources comprising a first dedicated processing resource and a second dedicated processing resource, and the hardware information comprising first hardware information of the first dedicated processing resource and second hardware information of the second dedicated processing resource; generating a first task based on the first hardware information and a second task based on the second hardware information; and allocating the first task to the first dedicated processing resource and the second task to the second dedicated processing resource. - View Dependent Claims (18, 19, 20)
-
Specification