1. A method, comprising: determining a plurality of tasks for a plurality of processing units; determining information related to temperatures of said plurality of processing units; and determining an assignment for said plurality of tasks to the plurality of processing units, based on said temperatures.