Patent ID: 8549500

Claim:
A method implemented by a computing device, the method comprising: receiving, by the computing device and via a technical computing environment, a program that includes a parallel construct and a command to be executed by graphical processing units; analyzing, by the computing device, the program; identifying, by the computing device and based on the parallel construct and the analysis, one or more portions of the command to be executed in parallel by the graphical processing units; transforming, by the computing device and via the technical computing environment, the one or more command portions into one or more command portions that are executable by the graphical processing units; allocating, by the computing device, the one or more transformed command portions to the graphical processing units for parallel execution; and receiving, by the computing device and from the graphical processing units, one or more results associated with parallel execution of the one or more transformed command portions by the graphical processing units.