Method and device for executing circle task
A task, one-line technology, applied in machine execution devices, concurrent instruction execution, general-purpose stored program computers, etc., can solve problems such as unrealizable, unrealistically large scale of RCA coprocessors, and large number of steps.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] When the number of steps included in the cyclic task is more than the number of rows of the RCA coprocessor, the embodiment of the present invention provides a method for executing the cyclic task in the RCA coprocessor, such as figure 2 As shown, the method includes:
[0045] Step 101: set the first pointer to point to the first row of configuration information of the cyclic task, and set the second pointer to point to the first row of RC of the RCA coprocessor;
[0046] Step 102: input data and configuration information pointed to by the first pointer to the RC line pointed to by the second pointer;
[0047] Wherein, the RC line pointed to by the second pointer is configured to have a corresponding operation function by using the input configuration information, and then the RC line performs operation on the input data according to the configured operation function.
[0048] Step 103: Set the first pointer to point to another line of configuration information of the...
Embodiment 2
[0051] When the number of steps included in the cyclic task is more than the number of rows of the RCA coprocessor, the embodiment of the present invention provides a method for executing the cyclic task in the RCA coprocessor, such as image 3 As shown, the method includes:
[0052]Step 201: set the first pointer to point to the first row of configuration information of the cyclic task, and set the second pointer to point to the first row of RC of the RCA coprocessor;
[0053] Wherein, by compiling the task graph of the cyclic task to generate a row of configuration information corresponding to each step of the task in the task graph, a row of configuration information corresponding to each step of the cyclic task can be obtained. Use the configuration information to configure the RC row, so that the RC row performs the calculation function corresponding to each step of the task. For example, if there is a step of task related to addition operation, the configuration informa...
Embodiment 3
[0109] When the number of steps included in the cyclic task is more than the number of rows of the RCA coprocessor, the embodiment of the present invention provides a device for executing the cyclic task in the RCA coprocessor, such as Figure 6 As shown, the device includes:
[0110] The first setting module 301 is used to set the first pointer to point to the first row of configuration information of the cyclic task, and set the second pointer to point to the first row of RC of the RCA coprocessor;
[0111] The input module 302 is configured to input the configuration information and data pointed to by the first pointer to the RC row pointed to by the second pointer, and use the input configuration information to make the RC row perform operations on the input data;
[0112] The second setting module 303 is configured to set the first pointer to point to another line of configuration information of the cyclic task;
[0113] The third setting module 304 is configured to set ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 