Patent ID: 8776066

Claim:
A computer program product for managing task execution in a computing environment, the computer program product comprising: a non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: grouping a plurality of tasks, prior to execution, into a group of tasks based on a predefined criteria, wherein the plurality of tasks are of a same class of tasks, and the predefined criteria comprises task start times and deadlines for the plurality of tasks, and wherein the plurality of tasks in the group of tasks are to terminate at substantially a same time; and mapping, prior to execution, the group of tasks and one or more tasks of one or more other classes of tasks to one or more accelerator units, the one or more accelerator units to execute the group of tasks and the one or more tasks from the one or more other classes of tasks, wherein the class of tasks relates to a first type of execution time, the first type of execution time comprising a known constant execution time, and at least one class of tasks of the one or more other classes of tasks relates to at least one other type of execution time, the at least one other type of execution time being other than the known constant execution time, and wherein the mapping comprises assigning the group of tasks and the one or more tasks from the one or more other classes of tasks to the one or more accelerator units based on meeting the start times and deadlines for the group of tasks and based on an energy profile by not exceeding configurable maximum energy levels for the one or more accelerator units with total task energy of the group of tasks and the one or more tasks from the one or more other classes of tasks mapped to the one or more acceleration units, wherein the energy profile comprises the configurable maximum energy levels for the one or more accelerator units and task energy for the group of tasks and the one or more other classes of tasks.