Patent ID: 8612981

Claim:
A method for distributing a task to a plurality of processors, comprising: writing a distribution rule for distributing a plurality of the tasks to the plurality of the processors in a program code of an application program configured to include the plurality of the tasks, wherein the distribution rule is defined by using a number of pieces included in a predetermined unit of processing as a parameter and includes a description of which processor the pieces of data included in the unit of processing are assigned to, the method further comprising detecting the number of the pieces of the data to be processed included in the predetermined unit of processing, and wherein the each of the tasks is assigned to a processor in accordance with the number of the pieces of the data detected; and reading the distribution rule at the time of executing the application program to distribute the plurality of the tasks to designated processors, respectively, in accordance with the distribution rule, wherein the distribution rule is contained within the program code of the application program.