Patent ID: 9448779
Filing Date: 2016-09-20
CPC Classification: G06F

Claim Text:
1. A computer-implemented method for configuring a general purpose processor to execute a translated application program, the method comprising: receiving the translated application program that is converted from an application program written using a parallel programming model for execution on a multi-core graphics processing unit, wherein the translated application program includes at least one loop that iterates over at least one dimension of a cooperative thread array that is referenced by a divergent statement identified by classification information indicating convergent statements and divergent statements, and the at least one dimension corresponds to a number of threads that are concurrently executed by a parallel processor within the multi-core graphics processing unit, wherein divergent statements comprise statements that reference cooperative thread array dimensions and convergent statements comprise statements that do not reference a particular cooperative thread array dimension; compiling the translated application program to produce compiled code for execution by the general purpose processor; determining a number of execution cores in the general purpose processor that are available to execute the compiled code; configuring the general purpose processor to enable the number of execution cores; and launching the compiled code for execution by the general purpose processor including the number of execution cores.