Implicit Vector Concatenation in 2D Mesh Routing

The 2D mesh routing system with implicit vector concatenation addresses the challenge of efficient signal routing in multi-core neural networks, enabling flexible and high-performance data transmission and buffering.

JP2024533019AActive Publication Date: 2024-09-12INTERNATIONAL BUSINESS MACHINE CORPORATION

Patent Information

Application Number
JP2024502057
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-09-29
Filing Date
2022-09-26
Publication Date
2024-09-12
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

Existing neural network architectures face challenges in efficiently routing signals between cores in a multi-core environment, particularly in deep learning applications, where flexible and reconfigurable hardware is required without the overhead of packet-switched networks.

Method used

Implementing a 2D mesh routing system with implicit vector concatenation and circuit-switched connections, using routers to segment and independently route signals across neural cores, allowing for parallel transmission and buffering of data vectors.

Benefits of technology

Enables efficient and flexible routing of data vectors between neural cores, supporting both single and multicasting operations without the need for serial concatenation, enhancing the performance of multi-core neural networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024533019000001
    Figure 2024533019000001
Patent Text Reader

Abstract

Implicit Vector Concatenation in 2D Mesh Routing An array of neural cores is provided, each neural core comprising ordered input lines, ordered output lines, and synapses, each of the synapses operatively coupled to one of the input lines and one of the output lines. A plurality of signal lines is provided, at least one of the signal lines disposed along each dimension of the array of neural cores. A plurality of routers is provided, each of the routers operatively coupled to one of the neural cores and to at least one of the signal lines along each dimension of the array of neural cores. Each of the routers selectively routes signals from the at least one signal line to its associated neural core. Each of the routers selectively routes signals from its associated neural core to the at least one signal line. The routers segment the ordered input lines and the ordered output lines into segments and route signals for each segment independently.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] TECHNICAL FIELD Embodiments of the present disclosure relate to multi-core neural networks, and more particularly, to implicit vector concatenation in 2D mesh routing. Summary of the Invention

[0002] According to one aspect of the invention, a system is provided, the system comprising an array of neural cores, the array having at least one dimension. Each of the neural cores comprises a plurality of ordered input lines, a plurality of ordered output lines, and a plurality of synapses, each of the synapses being operatively coupled to one of the plurality of input lines and one of the plurality of output lines. A plurality of signal lines is provided. At least one of the plurality of signal lines is disposed along each dimension of the array of neural cores. A plurality of routers is provided, each of the routers being operatively coupled to (i) one of the plurality of neural cores and (ii) at least one of the signal lines along each dimension of the array of neural cores. Each of the plurality of routers is configured to selectively route signals from the at least one signal line to its associated neural core. Each of the plurality of routers is configured to selectively route signals from its associated neural core to the at least one signal line. The plurality of routers are configured to segment the plurality of ordered input lines and the plurality of ordered output lines into a plurality of segments and independently route signals for each of the plurality of segments.

[0003] According to another aspect of the invention, a method of operating a multi-core neural network is provided. A signal is received at a plurality of routers via a plurality of signal lines. The signal is selectively routed from at least one signal line to a neural core by each of the plurality of routers. The signal is selectively routed from the neural core to a plurality of signal lines by the plurality of routers. The plurality of routers are configured to segment the plurality of ordered input lines and the plurality of ordered output lines into a plurality of segments and to independently route signals for each of the plurality of segments. The neural core comprises a plurality of ordered input lines, a plurality of ordered output lines, and a plurality of synapses, each of the synapses operably coupled to one of the plurality of input lines and one of the plurality of output lines. The plurality of signal lines are arranged along each dimension of an array of neural cores having the neural cores. [Brief description of the drawings]

[0004] [Figure 1] 1 illustrates an exemplary array of neural cores, according to an embodiment of the present disclosure.

[0005] [Diagram 2] FIG. 1 illustrates an upstream / downstream router for circuit-switched connection of neuron circuits, according to an embodiment of the present disclosure.

[0006] [Diagram 3] 1 illustrates an upstream / downstream router configured using a crossbar array according to an embodiment of the present disclosure.

[0007] [Figure 4] 1 illustrates an array of interconnected routers according to an embodiment of the present disclosure.

[0008] [Figure 5A] 1 illustrates an upstream / downstream router including a border guard circuit at the core edge according to an embodiment of the present disclosure. [Figure 5B]1 illustrates an upstream / downstream router including a border guard circuit at the core edge according to an embodiment of the present disclosure.

[0009] [Figure 6] 1 illustrates an exemplary analog fabric, according to an embodiment of the present disclosure.

[0010] [Figure 7A] 1 illustrates an example routing of a data vector on an analog fabric in accordance with an embodiment of the present disclosure. [Figure 7B] 1 illustrates an example routing of a data vector on an analog fabric in accordance with an embodiment of the present disclosure. [Figure 7C] 1 illustrates an example routing of a data vector on an analog fabric in accordance with an embodiment of the present disclosure.

[0011] [Figure 8] 1 illustrates a segmented fabric configuration according to an embodiment of the present disclosure.

[0012] [Figure 9] 1 illustrates implicit concatenation according to an embodiment of the present disclosure.

[0013] [Figure 10] 1 illustrates an implicit split according to an embodiment of the present disclosure.

[0014] [Figure 11] 1 illustrates collection according to an embodiment of the present disclosure.

[0015] [Figure 12] FIG. 2 is a detailed diagram of an example border guard circuit, in accordance with an embodiment of the present disclosure.

[0016] [Figure 13] 13 illustrates an example tile according to the present disclosure using the circuit of FIG. 12.

[0017] [Figure 14]FIG. 2 is a circuit schematic diagram of an exemplary border guard circuit, in accordance with an embodiment of the present disclosure.

[0018] [Figure 15] 1 illustrates a method for operating a multi-core neural network according to an embodiment of the present disclosure.

[0019] [Figure 16] 1 illustrates a computing node according to one embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] An Artificial Neural Network (ANN) is a distributed computing system consisting of a large number of neurons interconnected through connection points called synapses. Each synapse encodes the strength of the connection between the output of one neuron and the input of another neuron. The output of each neuron is determined by the set of inputs it receives from the other neurons connected to it. Thus, the output of a given neuron is based on the output of its connected neurons from the previous layer, and the strength of the connection, which is determined by the synaptic weights. ANNs are trained to solve a particular problem (e.g., pattern recognition) by adjusting the synaptic weights so that a particular class of input produces a desired output.

[0021] ANNs can be implemented on various types of hardware, including crossbar arrays, also known as crosspoint arrays or crosswire arrays. A basic crossbar array configuration includes a set of conductive row lines and a set of conductive column lines formed to cross the set of conductive row lines. The crossing points between the two sets of lines are separated by crosspoint devices. The crosspoint devices act as the ANN's weighted connections between the neurons.

[0022] In various embodiments, a non-volatile memory based crossbar array, or crossbar memory, is provided. A plurality of junctions are formed by row lines crossing column lines. A resistive memory element, such as a non-volatile memory, is in series with a selector at each junction coupling between one of the row lines and one of the column lines. The selector may be a volatile switch or a transistor, various types of which are known in the art. It will be appreciated that a variety of resistive memory elements are suitable for use as described herein, including memristors, phase change memories, conductive bridge RAM, and spin transfer torque RAM.

[0023] A fixed number of synapses are provided on a core, and multiple cores may then be connected to provide a complete neural network. In such an embodiment, an interconnect between the cores is provided to convey the output of neurons on one core to another core, for example, via a packet-switched or circuit-switched network. In a packet-switched network, address bits must be transmitted, read, and processed, but at the expense of power and speed, greater flexibility of the interconnect may be achieved. In a circuit-switched network, address bits are not needed, so flexibility and reconfigurability must be achieved by other means.

[0024] In various exemplary networks, multiple cores are arranged in an array on a chip, and in such embodiments, the relative positions of the cores may be referenced by the cardinal directions (north, south, east, west).

[0025] In the context of a physical array of neural cores with analog memory elements, the present disclosure provides flexible routing of signals between array cores for the purposes of neuromorphic computation. In various embodiments, the data carried by these neural signals is encoded into the pulse durations carried by each line using digital voltage levels suitable for buffering or other forms of digital signal restoration. In other embodiments, the data may be directly time multiplexed as binary pulses representing digital position bits and aligned with edges of a local or forwarded clock signal used to latch said digital position bits at the destination.

[0026] Within such an array of cores, multiply-and-accumulate operations can be efficiently performed in a single step, but the problem remains of communicating output data from the output peripherals at the end of one core to the input peripherals at the end of several other cores. To implement flexible and reconfigurable hardware, the ability to support any routing path from any one core to any other core is desirable. Deep learning applications do not require the full flexibility that packet-switched networks provide, but it is desirable to support both single-cast and multicast of data from the output neurons of one core to the associated input neurons of multiple other array cores.

[0027] In various embodiments of the present disclosure, each neuron on the edge of each core is connectable to a dedicated routing fabric for that particular neuron. The routing fabric comprises a mesh of lines, buffers, and switches associated with a particular neuron within the overall data vector corresponding to all neurons at the core edge. Although a single neuron routing fabric is described in various examples herein, it will be understood that all neurons (or elements of the data vector) travel in parallel on their respective dedicated routing lines. In various embodiments, one or more control lines simultaneously control all or a substantial portion of the parallel lines. In other embodiments, a register of mask bits allows for masked control of a subset of the parallel lines.

[0028] The objective of the analog AI is to perform parallel vector multiplication operations by introducing excitation vectors on multiple row lines to perform multiplication and accumulation operations across a matrix of stored weights encoded into the conductance values ​​of the analog non-volatile resistive memory. As discussed above, the array integrated upstream / downstream router method for circuit switched parallel connections is advantageous for such applications. This scheme allows massively parallel transmission and buffering of signal vectors between the analog AI tiles and the computing cores, either in duration format or as raw digital data.

[0029] Furthermore, there is a need to handle situations where a vector that must reach a particular destination originates from multiple sources, each of which contains only a subset of the entire long vector. Thus, the present disclosure provides implicit vector concatenation within 2D mesh routing.

[0030] Specifically, this disclosure describes a method for implicitly concatenating many short vectors obtained at different sources across a 2D mesh and delivering them to one or more destinations as a long concatenated vector. One advantage of this approach is that it allows for the concatenation of long data vectors without the need to serially send sub-vectors one after the other to a common staging point where the concatenation is performed by digital circuitry.

[0031] Because each column and row has its own dedicated router circuit with a dedicated path on the 2D router mesh, implicit concatenation requires that some parts of the border guard circuit (e.g., vector elements 0-31) force new data onto the 2D mesh (e.g., send this data north on the mesh), while other parts of the border guard circuit (e.g., vector elements 32-511) need the ability to buffer existing data they receive (e.g., from the south) so that they can be sent in parallel with the newly forced data.

[0032] Such a capability allows for implicit concatenation of LSTM vectors obtained from multiple compute units at different locations. For example, a vector of length 512 may be implicitly concatenated across four compute cores, with 128 data elements forced on compute core 1, another 128 from compute core 2, etc. This vector may be transferred to both multiple tiles and cores with dedicated SRAM, e.g., in the context of a bidirectional LSTM, which may need to store the currently concatenated vector for later use.

[0033] To avoid the possibility that two data elements that need to be concatenated might try to use the same dedicated router line in the router mesh, care must be taken to organize the computations so that the data to be concatenated all line up in unique columns (rows) of the 2D mesh router. Furthermore, the control circuitry that controls the operation of the border guard must allow sufficiently fine-grained control to pass or force the appropriate parts of the data vector onto router lines to support this implicit concatenation.

[0034] Referring now to FIG. 1, an exemplary array of neural cores according to an embodiment of the present disclosure is shown. Array 100 includes a plurality of cores 101. The cores in array 100 are interconnected by lines 102, as further described below. In this example, the array is two-dimensional. However, it will be understood that the present disclosure may apply to one-dimensional or three-dimensional arrays of cores. Core 101 includes a non-volatile memory array 111 that implements synapses as described above. Core 101 includes a west side and a south side, each of which may function as an input and the other as an output. The west side includes support circuitry 112 dedicated to the entire side of core 101, shared circuitry 113 dedicated to a subset of rows, and per-row circuitry 114 dedicated to individual rows. The south side similarly includes support circuitry 115 dedicated to the entire side of core 101, shared circuitry 116 dedicated to a subset of columns, and per-column circuitry 117 dedicated to individual columns. It will be understood that the West / South nomenclature has been adopted merely for ease of reference to relative locations and is not intended to restrict the directions of input and output.

[0035] It will be appreciated that during operation as a classifier, the array of cores may be trained using various methods known in the art. Particular algorithms may be suited to specific tasks such as image recognition, speech recognition, language processing, etc. The training algorithm derives a pattern of synaptic weights that converges during the learning process towards an optimal solution for a given problem. Backpropagation is one of the algorithms suited for supervised learning, where known correct outputs are available during the learning process. The goal of such learning is to obtain a system that generalizes over data that was not available during training.

[0036] In general, during backpropagation, the output of the network is compared to the known correct output. An error value is calculated for each neuron in the output layer. The error values ​​are propagated backwards starting from the output layer to determine an error value associated with each neuron. The error values ​​correspond to each neuron's contribution to the network output. The weights are then updated using the error values. This incremental correction adjusts the network output to match the training data. During backpropagation, a vector of data may move between cores in a direction opposite to that used during forward propagation. Thus, if during forward propagation a data vector was passed from, say, the south side of core 3 to, say, the west side of core 4, during backpropagation it may be necessary to pass the data vector in the opposite direction, i.e., from the west side of core 4 to the south side of core 3.

[0037] When backpropagation is applied, the ANN quickly achieves high accuracy for most examples in the training set. Most of the training time is spent trying to further improve this test accuracy. During this time, a large number of training data examples is rarely corrected, since the system has already learned to recognize these examples. In general, the performance of ANNs tends to improve with the size of the dataset, which can be explained by the fact that larger datasets contain more boundary examples between the different classes on which the ANN is trained.

[0038] Thus, during training, the array 100 may be provided with example data and example labels. An inferred classification may be provided as an output. Weight overrides may be provided to the array of cores based on the inferred classification. Updated weights may then be read from the array.

[0039] Referring now to FIG. 2, an upstream / downstream router for circuit-switched connection of neuron circuits is shown, according to an embodiment of the present disclosure. In this embodiment, the switches are configured at the array edge and the buffers are placed within the array. This circuit-switched router addresses the need to transmit an entire vector of output data to another core. In some embodiments, the data is encoded as a duration. In other embodiments, the data is encoded as a binary number. A synchronization signal, such as an edge indicating the start of the duration-encoded data or a forwarded clock signal that provides an edge for latching the digital position bits, may also be transmitted along with the data vector.

[0040] Lines 201-204 provide connections between cores in the array and correspond to line 102 in Figure 1. As discussed above, each line corresponds to a relative direction on the chip. Each is paired with a transmission gate 205...208.

[0041] Transmission gates 209, 210 (labeled ROW_connect and COLUMN_connect) are provided at the entrance to the row 211 and column 212 neuron circuits of each core. This allows each neuron circuit to be connected (or isolated) to an associated router line via a transmission gate. In some embodiments, the transmission gates are implemented as PFETs and NFETs connected between their sources and drains with complementary drive signals. In an exemplary embodiment, the entrance to the column corresponds to the south side of the core and the entrance to the row corresponds to the west side of the core.

[0042] Transmission gates 213...216 surround buffer 217. By properly configuring the transmission gates 205-208 between the cores (labeled WEST, EAST, SOUTH, and NORTH), the transmission gates 209, 210 at the entrance to each neuron circuit (labeled ROW_connect and COLUMN_connect), and the transmission gates 213...216 surrounding the buffers (labeled DOWN_in, UP_in, DOWN_out, and UP_out), this router can be used to provide circuit-switched routing on a neuron-by-neuron basis from neuron circuits at any end of one array core to neuron circuits at the end of any other array core.

[0043] In a multi-core environment, router lines (e.g., individual elements of line 102, 201...204) pass near each neuron circuit (e.g., individual elements of array 111, 211, 212) and connect via transmission gates (e.g., 205...208) to the router line of the next core (to the north, south, east, or west) and to buffer circuits (e.g., 217) located in each core.

[0044] In various embodiments, for simplicity, the North and West router wires are hardwired together and the South and East router wires are hardwired together. In such embodiments, buffer circuits can be used to strengthen the signal either downstream (from North / West to South / East) or upstream (vice versa).

[0045] Referring to Figure 3, the router of Figure 2 is generalized to the case of multiple neurons, with switches and buffers shown in relation to a crossbar array. In this diagram, transmission gates 301-304 are provided between adjacent cores (labeled West, East, South, and North) and core 305. In various embodiments, transmission gates 301...304 are coupled to all arriving neuron routers such that transmissions are selected on a core-wide basis. Router 306 (shown in simplified form) may be configured as described in relation to Figure 2 to provide circuit-switched routing for each neuron in core 305.

[0046] As depicted, in some embodiments, a buffer circuit can be organized such that its position is coordinated with either the row position or the column position of an associated neuron circuit, but not both.

[0047] Thus, duration or binary data (encoding data) generated at the periphery is placed by the border guard circuits on the wires that cross the core array. These signals may be buffered or blocked at various other border guard circuits until they reach the target core.

[0048] In various embodiments, the buffer circuits and their transmission gates are placed in the array at periodic positions within the array, i.e., positions that are correlated with column positions and independent of rows (or vice versa, if desired). The transmission gates between the arrays are located at the outer ends of the neuron circuits, while the transmission gates at the entrances of the neuron circuits can be included in the appropriate parts of the neuron circuits. Using two north-south lines, as shown in FIG. 3, eliminates the need for the buffer circuits in a given row to be located in the same place in that row, since the north-south lines convey signals to the physical positions of the buffers. In some embodiments, this can be reversed so that there are two east-west lines and the positions of the buffers are coordinated with row positions rather than column positions.

[0049] 4, an array of interconnected routers is shown in accordance with an embodiment of the present disclosure. In this example, routers 401-406 each correspond to an instance of router 200 and are located on adjacent cores.

[0050] The gates in this example are configured for multicast routing. The output of the column neurons on the south side of core 401 is routed to the row neurons on the west side of both this core's near and far neighbors. Transmission gates that are closed to apply this routing network are shown in light gray, while open transmission gates remain their original color. Note that signals are buffered as they pass through any array core in the upstream / downstream direction, but signals passed by hard-coded connections (e.g., north to west or vice versa, or south to east or vice versa) are not buffered. Closed transmission gates are shown in gray.

[0051] Here, the column neurons on the south side of core 401 drive the router fabric. Open transmission gates in core 404 allow this signal vector to be transmitted and buffered as it passes through core 404, but is ignored by the row and column neurons of core 404. However, open transmission gates between cores 404 and 405, between 405 and 402, and between 402 and 403 allow the signal vector to arrive at the row neurons on the west edge of core 403. At the same time, the signal vector is buffered by the buffers in core 405 and the open transmission gates in the border guard circuit between cores 405 and 406 (discussed further below), allowing the same signal vector to arrive at the row neurons on the west edge of core 406. As a result, the data vector has been multicast from the south side of core 401 to the west sides of both cores 403 and 406, using two buffering stages along the way.

[0052] 5A-5B, an upstream / downstream router is shown that includes a shared border guard circuit. In this embodiment, both the switch and the buffer are located within the border guard, which is located at the core edge. This allows elements of a data vector, encoded as one or more pulse durations, to be transferred from one or more source cores to one or more destination cores.

[0053] In this example, the border guard circuitry includes the required transmission gates and buffers. Thus, no additional circuitry is placed within the core itself. Such an embodiment requires slightly more area, since it requires four inverters instead of two, but offers the advantage of buffering per edge. Furthermore, this configuration allows a row neuron or column neuron at the edge of a core to receive input from the router fabric via the adjacent core through the CONNECT_TO_OUT switch, while another signal is passing through the array core at the same time. In such a situation, by closing the transmission gates INSIDE and CONNECT_TO_IN, the row neuron or column neuron can receive data from either inside the array core portion of the router mesh, or from outside the array core portion of the router mesh, or neither, without interrupting the transmission of neuronal data either downstream (using the PASS_IN transmission gate) or upstream (through the PASS_OUT transmission gate).

[0054] Core 501 includes shared circuitry 502 that performs the function of a border guard, allowing signals to enter and exit the corresponding ends of the core. A higher level of wiring 503 is provided at the pitch to interconnect the cores (e.g., corresponding to lead 102). The border guard shared circuitry allows signals to enter and exit the core 501 from the west and south ends.

[0055] 5B, a south border guard circuit 504 on core 501 uses buffering to connect outgoing signal 505 to wire 503. Signal 505 is then routed through one or more intermediate routers to a destination core 506. A west border guard circuit 507 connects incoming signal 505 to core 506.

[0056] Referring to Figure 6, an exemplary analog fabric is shown, according to an embodiment of the present disclosure. In various embodiments, a 2D mesh (depicted by vertical lines) is provided on top of each component. In various embodiments, the components include computing cores (CCs, 601) and analog tiles (Tiles, 602). In this exemplary embodiment, each component has 512 vertical lines (channels) and 512 horizontal channels.

[0057] Data routing on each component is controlled using four sets of 512 Border Guards (BGs, 603). Each Border Guard contains drivers and switches as described elsewhere in this specification. In this illustration, BGs of the same color can send data to each other.

[0058] 7A-7C, an example routing of a data vector on an analog fabric is shown, according to an embodiment of the present disclosure. In this example, one producer generated data vectors d1...d512. All BGs on the edge work together to deliver the data vector from the one producer of the entire data vector. Multiple consumers may receive the vector, but each consumer is forced to consume the entire data vector.

[0059] Referring to Figure 8, a segmented fabric configuration is shown according to an embodiment of the present disclosure. The border guards per edge are segmented into N groups. In this example diagram, N=4. Each segment is independently controlled and the operation is software programmable.

[0060] BGs can also be interleaved between segments, for example BG0, BG4, and BG8 may be placed in physical segment 1.

[0061] In various embodiments, the control circuitry and mask registers are shared across BGs in an end-to-end segment.

[0062] 9, implicit concatenation is shown according to an embodiment of the present disclosure. In this example, multiple producers 901-904 are provided. All producers can transmit simultaneously or individually, both options are supported using masks and control circuitry. The segments transmitted by producers 901-904 are concatenated into a concatenated vector 905.

[0063] 10, an implicit split is illustrated, according to an embodiment of the present disclosure. In this example, a vector 1005 is split across multiple segments and routed to multiple partial consumers 1001-1004.

[0064] 11, a gathering is shown according to an embodiment of the present disclosure. In this example, a vector 1001 is gathered from multiple other tiles. It will be appreciated that this is one example of many data manipulation operations enabled by the present disclosure.

[0065] 12, a detailed diagram of an example border guard circuit is provided, according to an embodiment of the present disclosure. A given task is defined in terms of a valid RCV_operation and DRV_operation pair. The receive operation is RCV_{N|S|OUT}, and the drive operation is DRV_{N|S|IN}. In various embodiments, the north and south drivers have buffering and tri-state.

[0066] Referring to FIG. 13, an example tile using the circuit of FIG. 12 is shown. Based on the local mask bits, routing task A or task B is selected. For example, TASK_A is RCV_S and DRV_N; and TASK_B is RCV_OUT and DRV_N. Using this approach allows fine-grained control across all channels. In various embodiments, the masks are loaded using a 2D mesh or using scan chains. In this example, RCV_A_{N|S|OUT} and RCV_B_{N|S|OUT}; DRV_A_{N|S|IN} and DRV_B_{N|S|IN}.

[0067] Referring to FIG. 14, a circuit schematic diagram of an exemplary border guard circuit is provided in accordance with an embodiment of the present disclosure.

[0068] Referring to FIG. 15, a method of operating a multi-core neural network according to an embodiment of the present disclosure is shown. At 1501, a signal is received at a plurality of routers via a plurality of signal lines. At 1502, the signal is selectively routed from at least one signal line to a neural core by each of the plurality of routers. At 1503, the signal is selectively routed from the neural core to a plurality of signal lines by the plurality of routers. The plurality of routers are configured to segment the plurality of ordered input lines and the plurality of ordered output lines into a plurality of segments and independently route the signal of each of the plurality of segments. The neural core comprises a plurality of ordered input lines, a plurality of ordered output lines, and a plurality of synapses, each of the synapses being operably coupled to one of the plurality of input lines and one of the plurality of output lines. The plurality of signal lines are arranged along each dimension of an array of neural cores having the neural cores.

[0069] 16, a schematic diagram of an example computing node is shown. Computing node 10 is only one example of a suitable computing node and is not intended to suggest any limitation as to the scope of use or functionality of the embodiments described herein. Regardless, computing node 10 may implement and / or perform any of the functionality described above.

[0070] Computing node 10 includes computer system / server 12, which is operable with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments and / or configurations that may be suitable for use with computer system / server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.

[0071] The computer system / server 12 may be described in the general context of computer system executable instructions, such as program modules, executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system / server 12 may be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media, including memory storage devices.

[0072] 16, computer system / server 12 in computing node 10 is shown in the form of a general-purpose computing device. Components of computer system / server 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 coupling various system components including the system memory 28 to the processor 16.

[0073] Bus 18 represents any one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example and not limitation, such architectures include Industry Standard Architecture (ISA) bus, MicroChannel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, Peripheral Component Interconnect (PCI) bus, Peripheral Component Interconnect Express (PCIe), and Advanced Microcontroller Bus Architecture (AMBA).

[0074] Computer system / server 12 typically includes a variety of computer system readable media. Such media may be any available media that can be accessed by computer system / server 12 and includes both volatile and nonvolatile media, removable and non-removable media.

[0075] The system memory 28 may include computer system readable media in the form of volatile memory such as random access memory (RAM) 30 and / or cache memory 32. The computer system / server 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be provided for reading from and writing to a non-removable, non-volatile magnetic medium (not shown, typically referred to as a "hard drive"). Although not shown, a magnetic disk drive may be provided for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive may be provided for reading from or writing to a removable, non-volatile optical disk, such as a CD-ROM, DVD-ROM, or other optical medium. In such an example, each may be connected to the bus 18 by one or more data media interfaces. As further shown and described below, the memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of an embodiment of the present disclosure.

[0076] A program / utility 40 having a set (at least one) of program modules 42 may be stored in memory 28, as well as, by way of example and not limitation, an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or some combination thereof, may comprise an implementation of a network environment. The program modules 42 generally perform the functions and / or methodologies of the embodiments described herein.

[0077] The computer system / server 12 may also communicate with one or more external devices 14, such as a keyboard, pointing device, display 24, or the like; one or more devices that allow a user to interact with the computer system / server 12; and / or any device (e.g., network card, modem, etc.) that allows the computer system / server 12 to communicate with one or more other computing devices. Such communication may occur via an input / output (I / O) interface 22. Additionally, the computer system / server 12 may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), and / or a public network (e.g., the Internet), via a network adapter 20. As shown, the network adapter 20 communicates with other components of the computer system / server 12 via a bus 18. Although not shown, it should be understood that other hardware and / or software components may be used in conjunction with the computer system / server 12. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data archive storage systems, and the like.

[0078] The present disclosure may be embodied as a system, method, and / or computer program product. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions for causing a processor to perform aspects of the present disclosure.

[0079] A computer-readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes portable computer diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), memory sticks, floppy disks, punch cards or mechanically encoded devices such as ridge structures in grooves on which instructions are recorded, and any suitable combination of the foregoing devices. A computer-readable storage medium as used herein should not be construed as a transitory signal per se, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a wave guide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0080] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to the respective computing / processing device or to an external computer or storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing / processing device.

[0081] The computer readable program instructions for carrying out the operations of the present disclosure may be either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object oriented programming languages ​​such as Smalltalk, C++, or the like, and traditional procedural programming languages ​​such as the "C" programming language or similar. The computer readable program instructions may run entirely on the user's computer, as a standalone software package, partially on the user's computer, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry to perform aspects of the present disclosure.

[0082] Aspects of the present disclosure are described herein with reference to flowchart illustrations or block diagrams of methods, apparatus (systems), and / or computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0083] These computer readable program instructions may be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing apparatus to produce a machine such that the instructions, executed via the processor of the computer or other programmable data processing apparatus, create means for performing the functions / acts specified in one or more blocks of the flowchart illustrations and / or block diagrams. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and / or other device to function in a particular manner, such that the computer readable storage medium having stored thereon instructions comprises an article of manufacture including instructions that implement aspects of the functions / acts specified in one or more blocks of the flowchart illustrations and / or block diagrams.

[0084] The computer readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device and cause the computer, other programmable apparatus, or other device to execute a series of operable steps to generate a computer-implemented process, such that the instructions executing on the computer, other programmable apparatus, or other device implement the functions / acts specified in one or more blocks of the flowchart illustrations and / or block diagrams.

[0085] The flowchart diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart diagrams or block diagrams may represent a module, segment, or part of instructions having one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions shown in the blocks may occur in a different order than that shown in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may be executed in the reverse order depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart diagrams, and combinations of blocks in the block diagrams and / or flowchart diagrams, may be implemented by a dedicated hardware-based system that executes the specified functions or operations, or executes a combination of dedicated hardware and computer instructions.

[0086] The description of various embodiments of the present disclosure is presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications, or technical improvements beyond the art found in the market, or to enable other skilled in the art to understand the embodiments disclosed herein.

Claims

1. 1. A system comprising: an array of neural cores, the array having at least one dimension, where each of the neural cores includes a plurality of ordered input lines, a plurality of ordered output lines, and a plurality of synapses, each of the plurality of synapses operatively coupled to one of the plurality of ordered input lines and one of the plurality of ordered output lines; a plurality of signal lines, where at least one of the plurality of signal lines is disposed along each dimension of the array of neural cores; and a plurality of routers, each of the plurality of routers operatively coupled to (i) one of the plurality of neural cores and (ii) at least one of the plurality of signal lines along the dimension of each of the array of neural cores, where each of the plurality of routers is configured to selectively route signals from the at least one signal line to its associated neural core; each of the plurality of routers is configured to selectively route signals from its associated neural core to the at least one signal line; The plurality of routers are configured to segment the plurality of ordered input lines and the plurality of ordered output lines into a plurality of segments and to independently route the signals in each of the plurality of segments. A system comprising:

2. The system of claim 1 , wherein the segments are of equal size.

3. The system of claim 1 , wherein each of the neural cores is configured to concatenate segments from the other neural cores into a combined input vector.

4. The system of claim 1 , wherein the independent routing is configurable by a routing mask in each of the neural cores.

5. The system of claim 1 , wherein the array of neural cores has two dimensions.

6. 2. The system of claim 1, wherein one signal line corresponds to each of the plurality of ordered input lines of the neural core and one signal line corresponds to each of the plurality of ordered output lines of the neural core.

7. The system of claim 6 , wherein the signal lines are arranged in a plane parallel to the neural core.

8. The system of claim 6 , wherein the plurality of signal lines are arranged in a mesh.

9. The system of claim 1 , wherein each of the plurality of routers is configured to selectively bypass its associated neural core.

10. The system of claim 1 , wherein each of the plurality of routers is configured to transmit signals in two directions along the at least one signal line.

11. 10. The system of claim 1, further comprising a plurality of digital buffers, each of the digital buffers operatively coupled to one of the plurality of routers, each of the plurality of digital buffers configured for signal restoration.

12. The system of claim 1 , wherein the plurality of synapses of the plurality of neural cores are configured as a trained neural network.

13. 2. The system of claim 1, wherein a first direction along the signal line corresponds to forward propagation and a second direction along the signal line corresponds to backward propagation.

14. 1. A method comprising: receiving signals at a plurality of routers over a plurality of signal lines; selectively routing said signals from at least one signal line to a neural core by each of said plurality of routers; selectively routing signals from said neural cores to said plurality of signal lines by said plurality of routers, wherein: the plurality of routers are configured to segment the plurality of ordered input lines and the plurality of ordered output lines into a plurality of segments and to independently route the signals in each of the plurality of segments; the neural core comprises the plurality of ordered input lines, the plurality of ordered output lines, and a plurality of synapses, each of the plurality of synapses operatively coupled to one of the plurality of ordered input lines and one of the plurality of ordered output lines; The plurality of signal lines are arranged along each dimension of an array of neural cores comprising the neural cores. A method for providing the above.

15. The method of claim 14 , wherein the segments are of equal size.

16. The method of claim 14 , wherein each of the neural cores is configured to concatenate segments from the other neural cores into a combined input vector.

17. The method of claim 14 , wherein the independent routing is configurable by a routing mask in each of the neural cores.

18. The method of claim 14 , wherein the array of neural cores has two dimensions.

19. 15. The method of claim 14, wherein one signal line corresponds to each of the plurality of ordered input lines of the neural core and one signal line corresponds to each of the plurality of ordered output lines of the neural core.

20. 20. The method of claim 19, wherein the signal lines are arranged in a plane parallel to the neural cores.

Citation Information

Patent Citations

  • Network-on-chip routing communication method for brain-like processor and network-on-chip

    CN112468401A

  • Spatially divided circuit-switched channels for a network-on-chip

    US20160182396A1

  • Coarse-grain programmable routing network for logic devices

    US20190296744A1

  • Array-integrated upstream / downstream router for circuit switched parallel connectivity

    US20200117985A1

Cited By

  • Implicit vector concatenation within 2D mesh routing

    US12518149B2

  • Neural cluster and neural processing SoC including the same

    US12657447B1

  • Neural cluster

    US12711366B1