Loading software on a plurality of processors
First Claim
1. A method for loading software on a plurality of processors in a heterogeneous processor environment, said method comprising:
- executing a program on a first processor;
in response to executing the program, loading a runtime loader onto the first processor;
using the runtime loader loaded on the first processor to retrieve an executable file;
using the runtime loader to extract a processor identifier from the executable file, the processor identifier corresponding to the executable file;
determining, using the runtime loader, whether to load the executable file on a second processor based upon whether the processor identifier corresponding to the second processor;
using the runtime loader to load the executable file from the first processor onto the second processor in response to determining that the processor identifier corresponds to the second processor;
sending a plug-in to the second processor using the first processor, the plug-in corresponding to the executable file;
sending data to the second processor using the first processor, the data corresponding to the plug-in; and
processing the data with the plug-in using the second processor.
1 Assignment
0 Petitions
Accused Products
Abstract
A processing unit (PU) retrieves a file from system memory and loads it into its internal memory. The PU extracts a processor type from the file'"'"'s header which identifies whether the file should execute on the PU or a synergistic processing unit (SPU). If an SPU should execute the file, the PU DMA'"'"'s the file to the SPU for execution. In one embodiment, the file is a combined file which includes both PU and SPU code. In this embodiment, the PU identifies one or more section headers included in the file which indicates embedded SPU code within the combined file. In this embodiment, the PU extracts the SPU code from the combined file and DMA'"'"'s the extracted code to an SPU for execution.
-
Citations
6 Claims
-
1. A method for loading software on a plurality of processors in a heterogeneous processor environment, said method comprising:
-
executing a program on a first processor; in response to executing the program, loading a runtime loader onto the first processor; using the runtime loader loaded on the first processor to retrieve an executable file; using the runtime loader to extract a processor identifier from the executable file, the processor identifier corresponding to the executable file; determining, using the runtime loader, whether to load the executable file on a second processor based upon whether the processor identifier corresponding to the second processor; using the runtime loader to load the executable file from the first processor onto the second processor in response to determining that the processor identifier corresponds to the second processor; sending a plug-in to the second processor using the first processor, the plug-in corresponding to the executable file; sending data to the second processor using the first processor, the data corresponding to the plug-in; and processing the data with the plug-in using the second processor. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification