The disclosure generally relates to system architectures, and more specifically to embedded computing architectures and reconfigurable computing architectures.
As technology advances, the need for stronger processing systems and computing power rapidly increase. Currently, processors are expected to deliver high computational throughput and are highly power efficient. Nevertheless, existing processing systems execute sequential streams of instructions. The instructions are retrieved from, and their results are written to, explicit memory or storage. As such, the execution of sequential streams of instructions suffer from, among other things, power inefficiencies.
Specifically, in some existing processing systems, each dynamic instruction must be fetched and decoded even though programs mostly iterate over small static portions of the code. Furthermore, because explicit storage (for example, a register file or memory) is the only channel for communicating data among instructions, intermediate results are transferred repeatedly between the functional units and register files. These inefficiencies dramatically reduce the energy efficiency of modern processing systems.
A summary of several example embodiments of the disclosure follows. This summary is provided for the convenience of the reader to provide a basic understanding of such embodiments and does not wholly define the breadth of the disclosure. This summary is not an extensive overview of all contemplated embodiments, and is intended to neither identify key or critical elements of all embodiments nor to delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more embodiments in a simplified form as a prelude to the more detailed description that is presented later. For convenience, the term “some embodiments” may be used herein to refer to a single embodiment or multiple embodiments of the disclosure.
Some embodiments disclosed herein include a computing grid, comprising an interconnect network including input ports and output ports; a plurality of egress ports; a plurality of configurable data routing junctions; a plurality of logical elements interconnected using the plurality of configurable data routing junctions; a plurality of ingress ports, wherein at least one compute graph is projected onto the computing grid as a configuration of various elements of the computing grid.
The subject matter disclosed herein is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features and advantages of the disclosure will be apparent from the following detailed description taken in conjunction with the accompanying drawings.
The embodiments disclosed by the invention are only examples of the many possible advantageous uses and implementations of the innovative teachings presented herein. In general, statements made in the specification of the present application do not necessarily limit any of the various claimed embodiments. Moreover, some statements may apply to some inventive features but not to others. In general, unless otherwise indicated, singular elements may be in plural and vice versa with no loss of generality. In the drawings, like numerals refer to like parts through several views.
The various disclosed embodiments allow for the execution of a software program (including at least one computational task) on a reconfigurable hardware, analyzing in runtime what the program requires, and optimizing the operation based on the analysis. The disclosed embodiments may be realized by a grid computing architecture designed to enable simplification of compute-intensive algorithms or tasks. In an embodiment, the disclosed architecture includes a directed grid configured to receive data flows for processing. The received data flows are interconnected due to the structure of the grid computing architecture.
In an example embodiment, the implementation of the grid computing architecture further enables an asynchronous and clock-less computing implementation. The grid computing architecture is designed to further optimize code execution using a routing topology such as a network, a bus, or both. The routing topology enables routing of execution portions throughout the grid. It should be noted that the grid enables a synchronized implementation.
The LEs 120 are interconnected via the data routing junctions 130. The Frs 140 are connected via the routing junctions 130 to LEs 120 and via the interconnect 160 to Wrs 150, as illustrated in
In an embodiment, each LE 120 may perform a unary, binary, and/or ternary operation. Examples for such operations include adding, subtracting, multiplying, negating, incrementing, decrementing, adding with carry, subtraction with borrow, and the like.
In an embodiment, a LE 120 may be a logical and/or bitwise operator such as AND, OR, NOT, XOR, size-casting (zero or sign extension) or a combination thereof.
In another embodiment, a LE 120 may be configured to perform a lookup table (LUT) operation.
In yet another embodiment, a LE 120 may be configured to perform a high-level arithmetic function, such as a fixed point or floating-point number addition, subtraction, multiplication, division, exponent, and the like.
In yet another embodiment, a LE 120 may perform a shift operation such as a shift left, a bitwise or arithmetic shift right, and so on.
In yet another embodiment, each LE 120 can execute an operation, do nothing, or pass the information downward to a junction 130 connected thereto. The LE 120 may do nothing when, for example, the condition of a conditional execution configuration (e.g., as determined based on a comparison) is not met.
In yet another embodiment, a LE 120 may perform selection between possible inputs according to a conditional execution configuration.
In an embodiment, each of the data routing junctions 130 may be realized as a multiplexer, a de-multiplexer, a switch, and the like. Each data routing junction 130 is configured to route data to and from the LEs 120. Without departing from the scope of the disclosed embodiments, a data routing junction is illustrated as a MUX 130 in
In yet another embodiment, the LEs 120 may employ flow control semantics to synchronize data movement in the grid.
Typically, every computer program can be represented by a series of basic-blocks, i.e., blocks of consecutive instructions such that there is no jump from or to the middle of a block. Each basic-block may be represented by a compute graph. A typical compute graph may be a directed acyclic graph in which the nodes correspond to operations and edges correspond to data movement.
The compute graph may be projected onto the computing grid 100 and, specifically, the nodes of the compute graph (i.e., operations) are assigned to LEs 120 as demonstrated in
In the example of
The Wr 220-2 returns of the sum (a+b) as computed by the LE 220-1. The LE 220-2 is directly connected via data routing junction to LE 220-1. The Wr 220-2 is further connected to LE 220-4 which is connected to Fr 210-1.
According to the disclosed embodiments, based on a piece of code in a programming language, a likely compute path may be determined. In an embodiment, the likely compute path is determined at runtime based on telemetry collected by the telemetry collection circuit 240.
In an embodiment, the collected runtime telemetry includes, for example, information on the number of times that each logic path has been taken, to compute or execute a given function or program. The telemetry may also include parameters, such as flow-control counters (e.g., number of Ack, Pause, etc.). A path which has been taken more times is statistically more likely to be taken again, and therefore a good target for optimization. An example likely path is labeled as 230 in
In an embodiment, the telemetry collection circuit 240 may be realized as hardware counters at the Wrs 150. In another embodiment, the telemetry collection circuit 240 may be realized as hardware counters at the Frs 140. In another embodiment, the telemetry collection circuit 240 may be realized as hardware counters at the data routing junctions 130. In another embodiment, the telemetry collection circuit 240 may be realized as hardware counters at the interconnect network 160. In another embodiment, the telemetry collection circuit 240 may be realized as hardware counters at the LEs 120 or the flow control mechanism of the LEs 120.
Based on the collected telemetry, the likely compute paths are then optimized, at runtime, by removing bottlenecks in latency, throughput, and the like.
Returning to
For example, operations in the compute graph of a basic-block that are memory bound may be relocated in close proximity to a memory of the computational device (not shown). As another example, I/O related operations are relocated in close proximity to I/O devices (not shown) such as network ports, PCI-e bus, and the like. A technique for optimizing the path based on critical hardware resources is disclosed in U.S. patent application Ser. No. 16/053,382, the contents of which are incorporated herein by reference.
In an embodiment, the likely compute path may be optimized by identifying the proximity or lack thereof, of basic-blocks to one another, respective to the call-graph of the basic blocks. Proximity, in such cases, may be physical, logical, topological or otherwise such that it may affect overall performance or cost of the computation.
Thereafter, the optimized compute graph is projected onto the computing grid 100. It should be noted that an optimized compute graph can be further optimized at runtime and injected to the interconnected LEs again, on-the-fly.
In some example embodiments, the LEs 120, the data routing junctions 130, the Frs 140 and the Wrs 150 may be implemented in hardware, software, firmware, or any combination thereof. In an exemplary embodiment, the computing grid 100 (and its various elements) is implemented as a semiconductor device. In another embodiment, the computing grid 100 is implemented in part as a semiconductor device and in part as software, firmware, or a combination thereof.
In an embodiment, the computing grid 100 is configured to accelerate the operation of computational devices. Examples for such devices may include a multi-core central processing unit (CPU), a field-programmable gate array (FPGA), a graphics processing unit (GPU), an application-specific integrated circuit (ASIC), a quantum computer, an optical computing device, a neural-network accelerator, or a combination thereof. According to the disclosed embodiments, the acceleration is achieved by, for example, executing program code over the computing grid 100 instead of over a computational device (not shown). Furthermore, the computing grid 100 may be incorporated in a computation device or connected to it.
At S310, a likely compute path is determined for a received portion of code or program logic. In an embodiment, the likely compute path is determined using runtime telemetry.
At S320, the likely compute path is optimized in the compute graph. The optimization is performed at runtime, to remove bottlenecks in latency or/and throughput. Various embodiments for performing the optimization are discussed above.
At S330, the optimized compute graph is projected and injected again to the computing grid. Then, execution returns to S310.
The embodiments disclosed herein can be implemented as hardware, firmware, software, or any combination thereof. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units (“CPUs”), a memory, and input/output interfaces.
The computer platform may also include an operating system and microinstruction code. The various processes and functions described herein may be either part of the microinstruction code or part of the application program, or any combination thereof, which may be executed by a CPU, whether or not such computer or processor is explicitly shown.
In addition, various other peripheral units may be connected to the computer platform such as an additional network fabric, storage unit and a printing unit. Furthermore, a non-transitory computer readable medium is any computer readable medium except for a transitory propagating signal.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the principles of the disclosure and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions.
It should be understood that any reference to an element herein using a designation such as “first,” “second,” and so forth does not generally limit the quantity or order of those elements. Rather, these designations are generally used herein as a convenient method of distinguishing between two or more elements or instances of an element. Thus, a reference to first and second elements does not mean that only two elements may be employed there or that the first element must precede the second element in some manner. Also, unless stated otherwise, a set of elements comprises one or more elements.
As used herein, the phrase “at least one of” followed by a listing of items means that any of the listed items can be utilized individually, or any combination of two or more of the listed items can be utilized. For example, if a system is described as including “at least one of A, B, and C,” the system can include A alone; B alone; C alone; A and B in combination; B and C in combination; A and C in combination; or A, B, and C in combination.
This application claims the benefit of U.S. Provisional Application No. 62/558,090 filed on Sep. 13, 2017, the contents of which are hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
5321806 | Meinerth et al. | Jun 1994 | A |
5347346 | Shimizu et al. | Sep 1994 | A |
5367653 | Coyle et al. | Nov 1994 | A |
5933642 | Greenbaum et al. | Aug 1999 | A |
5970254 | Cooke et al. | Oct 1999 | A |
6347346 | Taylor | Feb 2002 | B1 |
6871341 | Shyr | Mar 2005 | B1 |
7269174 | Olson et al. | Sep 2007 | B2 |
8156307 | Wallach et al. | Apr 2012 | B2 |
8230176 | Li | Jul 2012 | B2 |
8275973 | Toi et al. | Sep 2012 | B2 |
8504778 | Kim | Aug 2013 | B2 |
8589628 | Kim | Nov 2013 | B2 |
8621151 | Kim | Dec 2013 | B2 |
8656114 | Kim | Feb 2014 | B2 |
8767501 | Joshi et al. | Jul 2014 | B2 |
8874847 | Kim | Oct 2014 | B2 |
8949550 | Choi et al. | Feb 2015 | B2 |
9317437 | Kim | Apr 2016 | B2 |
9348756 | Kim | May 2016 | B2 |
9385715 | Singh | Jul 2016 | B2 |
9460012 | Pricopi et al. | Oct 2016 | B2 |
9563401 | Chaudhuri et al. | Feb 2017 | B2 |
9588773 | Nicol et al. | Mar 2017 | B2 |
9590629 | Nicol | Mar 2017 | B2 |
9692419 | Melton et al. | Jun 2017 | B2 |
10503524 | Nicholson et al. | Dec 2019 | B2 |
20040190477 | Olson et al. | Sep 2004 | A1 |
20050265258 | Kodialam et al. | Dec 2005 | A1 |
20060242288 | Masurkar | Oct 2006 | A1 |
20060294150 | Stanfill et al. | Dec 2006 | A1 |
20070220522 | Coene et al. | Sep 2007 | A1 |
20090055596 | Wallach et al. | Feb 2009 | A1 |
20090319754 | Toi et al. | Dec 2009 | A1 |
20100332761 | Li | Dec 2010 | A1 |
20110099562 | Mandy et al. | Apr 2011 | A1 |
20110213950 | Mathieson et al. | Sep 2011 | A1 |
20120131277 | Kim | May 2012 | A1 |
20120131284 | Kim | May 2012 | A1 |
20120137072 | Kim | May 2012 | A1 |
20120137119 | Doerr et al. | May 2012 | A1 |
20120183294 | Boertjes | Jul 2012 | A1 |
20120284379 | Zievers | Nov 2012 | A1 |
20130024621 | Choi et al. | Jan 2013 | A1 |
20130227222 | Kim | Aug 2013 | A1 |
20140025881 | Joshi et al. | Jan 2014 | A1 |
20140223110 | Kim | Aug 2014 | A1 |
20150046660 | Kim | Feb 2015 | A1 |
20150234744 | Pricopi et al. | Aug 2015 | A1 |
20150261682 | Kim | Sep 2015 | A1 |
20150268963 | Etsion et al. | Sep 2015 | A1 |
20150381508 | Goodson | Dec 2015 | A1 |
20160098367 | Etsion et al. | Apr 2016 | A1 |
20160140259 | Ponamgi | May 2016 | A1 |
20160342396 | Kukolich et al. | Nov 2016 | A1 |
20170277550 | Zhang et al. | Sep 2017 | A1 |
20180189063 | Fleming et al. | Jul 2018 | A1 |
20190004994 | Fleming | Jan 2019 | A1 |
20190005161 | Fleming | Jan 2019 | A1 |
20190007332 | Fleming | Jan 2019 | A1 |
20190018815 | Fleming | Jan 2019 | A1 |
20190042282 | Raz et al. | Feb 2019 | A1 |
Number | Date | Country |
---|---|---|
WO 2019028253 | Feb 2019 | WO |
WO 2019055675 | Mar 2019 | WO |
Entry |
---|
International Search Report and the Written Opinion dated Nov. 15, 2018 From the International Searching Authority Re. Application No. PCT/US2018/045008. (6 Pages). |
International Search Report and Written Opinion of International Searching Authority for PCT/US2018/050910, ISA/RU, Moscow, Russia, dated Feb. 4, 2019. |
International Search Report and the Written Opinion dated Feb. 14, 2019 From the International Searching Authority Re. Application No. PCT/US2018/050910. (6 Pages). |
International Search Report and Written Opinion of International Searching Authority for PCT/US2018/045008, ISA/RU, Moscow, Russia, dated Nov. 12, 2018. |
International Preliminary Report on Patentability dated Feb. 13, 2020 From the International Bureau of WIPO Re. Application No. PCT/US2018/045008. (6 Pages). |
Hartenstein, “A Decade of Reconfigurable Computing: a Visionary Retrospective”, CS Department (Informatik), University of Kaiserslautern, Germany, pp. 1-8. |
Hartenstein, “Coarse Grain Reconfigurable Architecture”, Embedded Tutorial, CS Department (Informatik), University of Kaiserslautern, 2001, pp. 564-570. |
International Preliminary Report on Patentability dated Mar. 26, 2020 From the International Bureau of WIPO Re. Application No. PCT/US2018/050910. (6 Pages). |
Official Action dated Apr. 1, 2020 from the US Patent and Trademark Office Re. U.S. Appl. No. 16/053,382. (19 pages). |
Number | Date | Country | |
---|---|---|---|
20190079803 A1 | Mar 2019 | US |
Number | Date | Country | |
---|---|---|---|
62558090 | Sep 2017 | US |