Optic-electric computing system and data processing method
By using the instruction decoding and issuance module and the optical broadcast network in the optoelectronic computing system, the synchronous execution and collaborative work of the computing core are realized, which solves the problem of limited application of optical signals and significantly improves the throughput and computing power of the computing system.
Patent Information
- Application Number
- PCT/CN2024/083684
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-03-25
- Publication Date
- 2024-10-31
AI Technical Summary
The use of optical signals in computing systems is subject to several limitations that limit their application potential in computing systems.
By providing an optoelectronic computing system, the optical broadcast network between the instruction decoding and issuance module and multiple computing cores is used to realize the synchronous execution of instructions and collaborative completion of computing tasks by the computing cores, and the use of optical links to transmit instructions and synchronous control information. , ensuring electrical independence between computing cores.
It improves the throughput and computing power of the system, can process more data, and significantly increases the overall computing load of the computing system.
Smart Images

Figure CN2024083684_31102024_PF_FP_ABST
Abstract
Description
Photoelectric computing system and data processing method
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 27, 2023, with application number 202310475992.2 and invention name “Optoelectronic Computing System and Data Processing Method”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to an optoelectronic computing system and a data processing method. Background Art
[0003] Computations performed on electronic data encoded in analog or digital form in electrical signals are typically implemented using electronic computing hardware, such as on integrated circuits (e.g., processors, application-specific integrated circuits (ASICs), or systems on a chip (SoCs)), electronic circuit boards, or other electronic circuits. The use of optical signals in computing systems is subject to a number of limitations. Technical Solutions
[0004] Embodiments of the present application provide an optoelectronic computing system and a data processing method to overcome the limitations of the prior art in the use of optical signals in computing systems.
[0005] In one exemplary embodiment, an optoelectronic computing system is provided, comprising: a plurality of computing cores configured to execute instructions synchronously, the plurality of computing cores comprising a first computing core and a second computing core;
[0006] an instruction decode and issue module configured to receive a first set of instructions from a data processor, decode the first set of instructions to generate a second set of instructions, and send the second set of instructions to the plurality of computing cores; and
[0007] An optical broadcast network includes a plurality of optical links coupled between the instruction decode and issue module and the plurality of computing cores, wherein the optical links are configured to transmit the second set of instructions from the instruction decode and issue module to each computing core of the plurality of computing cores.
[0008] In some embodiments, the plurality of computing cores are electrically independent of each other, and each computing core does not transmit electrical signals to other computing cores.
[0009] In some embodiments, the instruction decoding and issuing module is configured to issue a third set of instructions for performing a computing task to at least two of the multiple computing cores, the multiple computing cores are configured to execute the third set of instructions and collaboratively complete the computing task, the first computing core is configured to execute the third set of instructions and execute a first part of the computing task to produce a first result, and the second computing core is configured to execute the third set of instructions and execute a second part of the computing task to produce a second result.
[0010] In some embodiments, the first computing core and the second computing core execute instructions synchronously, and when executing instructions synchronously, perform the first part and the second part of the computing task according to the synchronization control information broadcast by the instruction decoding and issuing module.
[0011] In some embodiments, the number of the plurality of computing cores is at least 4.
[0012] In some implementations, an optoelectronic computing system includes a photonic integrated circuit chip that includes the optical broadcast network.
[0013] In some embodiments, an optoelectronic computing system includes a substrate on which the computing core and the instruction decoding and issuing module are formed, wherein the plurality of optical links include optical waveguides formed on the substrate, the optical waveguides being coupled between the instruction decoding and issuing module and the plurality of computing cores.
[0014] In some embodiments, the electro-optical computing system includes a computing module having a single instruction multiple data (SIMD) architecture, wherein the computing module includes the plurality of computing cores, the instruction decoding and issuing module, and the optical broadcast network.
[0015] In some embodiments, the plurality of computing cores are configured to work collaboratively to solve execution problems of artificial intelligence workloads.
[0016] In some implementations, the plurality of computing cores are configured to work collaboratively to process a tensor, and each of the computing cores is configured to work on a different portion of a given tensor.
[0017] According to a second aspect of the present invention, there is provided a data processing method, the method comprising:
[0018] receiving, in an instruction decoding and issuing module, a first set of instructions sent from a data processor, decoding the first set of instructions, and generating a second set of instructions based on the first set of instructions; and
[0019] Transmitting the second set of instructions from the instruction decoding and issuing module to a plurality of computing cores via an optical broadcast network comprising a plurality of optical links, wherein the plurality of computing cores include a first computing core and a second computing core;
[0020] At the first computing core, executing a first portion of the computing task to generate a first result; and
[0021] At the second computing core, a second portion of the computing task is executed to generate a second result.
[0022] In some embodiments, the method further comprises: combining the first result and the second result to generate a final result.
[0023] In some embodiments, the plurality of computing cores are electrically independent of each other, and each computing core does not transmit electrical signals to other computing cores.
[0024] In some embodiments, issuing a third set of instructions for performing a computing task to the first computing core and the second computing core at the instruction decoding and issuing module;
[0025] Executing the third set of instructions at the first computing core and the second computing core and collaboratively completing the computing task includes:
[0026] executing, at the first computing core, the third set of instructions and performing the first portion of the computing task to produce a first result; and
[0027] At the second computing core, the third set of instructions is executed and a second portion of the computing task is performed to produce a second result.
[0028] In some embodiments, the method comprises:
[0029] The instruction decoding and issuing module broadcasts synchronization control information to the first computing core and the second computing core through the optical broadcast network, so that the first computing core and the second computing core synchronously execute the first part and the second part of the computing task when executing instructions according to the synchronization control information broadcast by the instruction decoding and issuing module.
[0030] In some embodiments, the method comprises:
[0031] The second set of instructions issued by the instruction decoding and issuing module is transmitted to at least four computing cores through the optical broadcast network, and the computing tasks are collaboratively executed by the four computing cores.
[0032] This invention provides a solution for the use of optical signals in optoelectronic computing systems. Through an instruction decoding and distribution module and an optical broadcast network, multiple computing cores can execute instructions synchronously. Furthermore, multiple computing cores can synchronize the execution of different parts of a computing task. The technical solution provided by this invention not only increases system throughput but also allows for the processing of more data, significantly improving the overall computational capacity of the computing system.
[0033] Various aspects, features, advantages, etc. of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. According to the following detailed description in conjunction with the accompanying drawings, the above aspects, features, advantages, etc. of the present invention will become more clear.
[0034] With reference to the following description and accompanying drawings, specific embodiments of the present invention are disclosed in detail, indicating the manner in which the principles of the present invention can be employed. It should be understood that the embodiments of the present invention are not limited in scope thereby. The embodiments of the present invention encompass numerous variations, modifications, and equivalents within the spirit and scope of the appended claims.
[0035] Features described and / or illustrated with respect to one embodiment may be used in the same or similar manner in one or more other embodiments, combined with features in other embodiments, or substituted for features in other embodiments.
[0036] It should be emphasized that the term "include / comprising" when used herein refers to the presence of features, integers, steps or components, but does not exclude the presence or addition of one or more other features, integers, steps or components. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0038] FIG1 is a schematic diagram of an example of a computing module provided in an embodiment of the present application.
[0039] FIG2 is a schematic diagram of an example of a connection between a computing system and a computer provided in an embodiment of the present application.
[0040] FIG3 is a flowchart of an example of a data processing method provided in an embodiment of the present application.
[0041] Throughout the various drawings, like reference numbers and designations refer to like elements. Modes for Carrying Out the Invention
[0042] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail with reference to the accompanying drawings.
[0043] Unless otherwise defined, technical or scientific terms used in this disclosure should have the same general meaning as those generally understood by persons skilled in the art in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in this disclosure do not denote any order, quantity, or importance, but are merely used to distinguish different components.
[0044] When the number of a component or element is not specifically indicated in the following embodiments of the present disclosure, it means that the component or element can be one or more, or can be understood as at least one. "At least one" means one or more, and "more" means at least two.
[0045] In order to make the objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0046] FIG1 illustrates an example of a computing module 100 provided in an embodiment of the present application. The computing module 100 may be a computing module 100 with a single instruction multiple data (SIMD) architecture. For example, the computing module 100 may be an artificial neural network (ANN) computing subsystem. An ANN is a collection of artificial neurons interconnected in a specific manner that processes information in a manner similar to how the brain functions. Typically, an ANN has an input layer, one or more hidden layers, and an output layer. The computing module 100 includes an instruction decoding and issuing module 106 and multiple computing cores, such as 102a, 102b, 102c, 102d, 102e, and 102f (collectively referred to as 102). Communication between the instruction decoding and issuing module 106 and the computing cores 102 may be achieved, for example, via an optical broadcast network 104. While the figure illustrates six computing cores 102, in practice, the computing module 100 may have more or fewer computing cores 102. The optical broadcast network 104 may include waveguides. In some embodiments, the computing module 100 includes a photonic integrated circuit, which includes the above-mentioned optical broadcast network 104, and the photonic integrated circuit chip can be manufactured using semiconductor processes. In some embodiments, the multiple computing cores are electrically independent of each other, and each computing core does not transmit electrical signals to other computing cores. The multiple computing cores are logically connected, and the multiple computing cores work together to solve the high-level execution problems of artificial intelligence workloads. The calculation results generated by the multiple computing cores when performing different types of operations are transmitted through the data input / output port 108. The embodiments of the present invention utilize optical broadcasting between multiple computing cores to implement the system control architecture of a single instruction multiple data integrated circuit.
[0047] For example, a computing task may involve processing a tensor. Each computing core 102 is configured to work on a different portion of a given tensor, with the computing cores 102 executing synchronously (e.g., in lockstep) based on an optical broadcast network between the computing cores 102. In a traditional single instruction multiple data architecture, a computing core may receive different portions of a task and process the different portions asynchronously relative to other computing cores, returning some status to a central control unit upon completion.
[0048] In some embodiments, the computing module 100 does not employ the asynchronous level of a conventional single instruction multiple data (SIMD) architecture. Instead, the computing module 100 employs a unique architecture that enables multiple computing cores 102 to execute synchronously (e.g., in lockstep), which enables the computing module 100 to have one or more advantages over conventional computing systems using conventional SIMD architectures, such as reduced power consumption, reduced device area footprint, and / or reduced device complexity.
[0049] Embodiments of the present invention provide a new computer structure, integrated circuit design, and system design that solves many problems of artificial intelligence reasoning accelerators and can provide one or more of the following advantages: compared with traditional solutions, it saves power consumption, area, and complexity in both software and hardware fields, and improves system throughput and performance.
[0050] In some embodiments, the computing system is at the highest level of single instruction multiple data, but is systolic-loop within the computing core 102. This enables the computing system to statically allocate computing resources to each computing core when instructions are issued by the instruction decoding and issuing module 106, thereby saving chip area, device power consumption, device complexity and / or computing latency. For example, instructions can be issued and retired out of sequence, and multiple instructions can be run at a given time. Since the computing module 100 can run multiple dynamic instructions in parallel at the same time, this can improve the system throughput and allow more data to be processed compared to traditional SIMD architectures. This can result in a computing system including the computing module 100 having better performance.
[0051] In some embodiments, the computing module 100 can execute instructions from an instruction set architecture (ISA) with data dependencies explicitly defined by the compiler, which is a breakthrough in terms of area / complexity and determinism at the software level.
[0052] In some embodiments, the computing module 100 implements a solution that utilizes SRAM (Static Random-Access Memory) as an intermediate memory to handle pipeline processing of dependent instructions, which enables the computing module to achieve high throughput.
[0053] FIG2 is a schematic diagram of an example of a connection between a computing system 120 and a computer 122 provided in an embodiment of the present application, which may be an optoelectronic computing system. The computing system 120 includes a controller 124, a storage unit 126, and a computing module 100 with a single instruction multiple data (SIMD) architecture. The controller 124 is electrically coupled to the storage unit 126 and the computing module 100 with the SIMD architecture. The controller 124 is configured to receive a first set of instructions sent from the computer 122, decode the first set of instructions to generate a second set of instructions, and send the second set of instructions to a plurality of computing cores 102. The controller 124 includes an integrated circuit that is configured to control the operation of the computing system 120 to perform corresponding computing tasks.
[0054] In some embodiments, instruction decode and issue module 106 is configured to issue a third set of instructions for performing a computing task to at least two computing cores in the plurality of computing cores 102. The plurality of computing cores 102 are configured to execute the third set of instructions and collaboratively complete the computing task. For example, first computing core 102a is configured to execute the third set of instructions and perform a first portion of the computing task to produce a first result, and second computing core 102b is configured to execute the third set of instructions and perform a second portion of the computing task to produce a second result.
[0055] In some embodiments, the instruction decoding and issuing module 106 is configured to broadcast synchronization control information to the plurality of computing cores 102 via the optical broadcast network 104, thereby enabling the plurality of computing cores 102 to synchronously execute related instructions to perform corresponding portions of a computing task. For example, the instruction decoding and issuing module 106 broadcasts synchronization control information to the first computing core 102a and the second computing core 102b via the optical broadcast network 104, thereby enabling the first computing core 102a and the second computing core 102b to synchronously execute a first portion and a second portion of a computing task according to the synchronization control information broadcast by the instruction decoding and issuing module 106.
[0056] In some embodiments, the computing core 102 and the instruction decoding and issuing module 106 are set on a substrate (not shown), wherein the optical broadcast network 104 includes an optical waveguide formed on the substrate, and the optical waveguide is coupled between the instruction decoding and issuing module 106 and multiple computing cores.
[0057] The integrated circuit of controller 124 may be an application-specific integrated circuit specifically configured to perform the steps of the ANN computation process. For example, the integrated circuit may implement microcode or firmware specifically designed to perform the ANN computation process. Thus, compared to a general-purpose processor used in a conventional computer (such as computer 122), controller 124 may have a reduced instruction set. In some embodiments, the integrated circuit of controller 124 may include two or more circuits configured to perform different steps of the ANN computation process.
[0058] In an example operation where computing system 120 is connected to computer 122, computer 122 may issue an artificial neural network computation request to computing system 120. The ANN computation request may include neural network weights defining the ANN and an input data set including tensors to be processed by the ANN. Controller 124 receives the ANN computation request and stores the input data set and one or more neural network weights in storage unit 126.
[0059] Exemplarily, the input data set corresponds to various digital information to be processed by the ANN. The input data set includes: video files, image files, audio files, lidar point clouds, or GPS coordinate sequences. The input data set can involve a wide range of applications, such as medical research data, medical research data, simulation data, autonomous driving related data, robot operation related data, meta-poetry support data, online game support data, and social media support data. The following embodiment of the present invention will exemplify the operation of the computing system 120 based on receiving an image file as an input data set. Generally, the size of the input data set can range from hundreds of data points to millions of data points, or even larger. For example, a digital image file with a resolution of 1 million pixels has approximately 1 million pixels, and each of these 1 million pixels can become a data point to be processed by the ANN. Since a typical input data set has a large number of data points, the input data set can be divided into multiple smaller digital input vectors so that they can be processed separately by multiple computing cores 102. For example, for a grayscale digital image, the elements of the digital input vector can be 8-bit values representing the intensity of the image, and the digital input vector can be from having tens of elements (e.g., 32 elements, 64 elements) to hundreds of elements (e.g., 256 elements, 512 elements) in length. In general, an input data set of any size can be divided into multiple digital input vectors of a size suitable for processing by the computing core 102. In the case where the number of elements of the input data set cannot be divided evenly by the length of the digital input vector, the data set can be filled with digital zeros so that it can be divided evenly by the length of the digital input vector. The processed output of a single digital input vector can be processed to reconstruct a complete output, which is the result of processing the input data set by an artificial neural network. In some embodiments, the input data set can be divided into multiple input vectors and subsequent vector-level operations can be performed using block matrix multiplication technology.
[0060] Neural network weights are a set of values that define the connectivity of neurons in an artificial neural network, including the relative importance or weights of these connections. An artificial neural network can include one or more hidden layers with corresponding sets of nodes. For an ANN with a single hidden layer, two sets of neural network weights can be used to define the ANN, one set corresponding to the connectivity between input nodes and hidden layer nodes, and the other set corresponding to the connectivity between the hidden layer and output nodes. Each set of neural network weights describing the connectivity corresponds to a matrix implemented by the computing module 100. For an ANN with two or more hidden layers, additional sets of neural network weights are required to define the connections between the additional hidden layers. Therefore, in general, the neural network weights included in a neural network calculation request can include multiple sets of neural network weights representing the connections between the layers of the neural network.
[0061] Because the input data set to be processed can be divided into multiple smaller digital input vectors for separate processing, the input data set can be stored in digital memory. However, the memory operation speed between the main memory and the processor of computer 122 may be slower than the speed at which computing system 120 executes the ANN calculation. Therefore, if the ANN calculation of computing system 120 involves multiple data transfers between computing system 120 and computer 122 during the processing of the ANN calculation request, the rate at which computing system 120 executes the ANN calculation may be limited to below its full processing rate. For example, if computer 122 accesses the input data set from its own memory and provides the digital input vectors to controller 124 upon request, the operation speed of computing system 120 may be significantly slowed due to the series of data transfers required between computer 122 and controller 124. Notably, the memory access latency of computer 122 is often non-deterministic, which further complicates the calculation process and reduces the speed at which the digital input vectors are provided to computing system 120. Furthermore, processor cycles of computer 122 may be spent managing data transfers between computer 122 and computing system 120.
[0062] In some embodiments, computing system 120 stores the entire input data set in storage unit 126. Storage unit 126 can be a dedicated component of computing system 120. For example, storage unit 126 can include high-speed SRAM. Dedicated storage unit 126 allows data transfer between storage unit 126 and controller 124 to be specifically adapted to allow for a smooth and uninterrupted flow of data between storage unit 126 and controller 124. This allows ANN computation module 100 to perform matrix multiplication operations at its full processing rate, significantly improving the overall computational throughput of computing system 120 because it is no longer limited by the slow memory operations of traditional computers such as computer 122 and can have an uninterrupted data flow. Furthermore, because all data required to perform ANN computations is provided to computing system 120 by computer 122 in a single data transfer, computing system 120 can perform its ANN computations independently of computer 122. This independent operation of the computing system 120 reduces the computational burden of the computer 122 and eliminates external dependencies in the operation of the computing system 120 , thereby improving the performance of the computing system 120 and the computer 122 .
[0063] In some embodiments, the storage unit 126 stores instructions related to data pipelining, which increases the computing speed of the computing system 120 because the computing core 102 can run at a higher speed without having to spend extra time waiting for instructions to be transmitted from the computer 122 to the controller 124.
[0064] In some embodiments, the computing system includes computing cores located on multiple integrated circuits. Instruction decoding and issuing module 106 broadcasts instructions and synchronization control information to the computing cores located on the multiple integrated circuits via optical broadcast network 104, enabling the computing cores located on the multiple integrated circuits to synchronize when collaboratively executing different portions of a computing task.
[0065] In some embodiments, the computing system includes computing cores on multiple integrated circuits located on multiple blades across multiple servers. Instruction decoding and issuing module 106 broadcasts instructions and synchronization control information to the computing cores on the multiple integrated circuits located on the multiple blades across the multiple servers via optical broadcast network 104, enabling synchronization of the multiple computing cores on the multiple integrated circuits located on the multiple blades across the multiple servers while collaboratively executing different portions of a computing task. Advantages of this control via an optical broadcast network include lower latency and more flexible scalability.
[0066] FIG3 is a flow chart of an example of a data processing method provided in an embodiment of the present application. The steps of the method 200 may be performed by the controller 106. In some embodiments, the steps of the method 200 may be executed in parallel, in combination, in a loop, or in any order.
[0067] At step 210 , the method 200 includes an instruction decoding and issuing module receiving a first set of instructions sent from a data processor, decoding the first set of instructions, and generating a second set of instructions based on the first set of instructions.
[0068] At step 212, the method 200 includes transmitting the second set of instructions from the instruction decode and issue module to the plurality of computing cores, respectively, via an optical broadcast network, wherein the plurality of computing cores includes a first computing core and a second computing core. Exemplarily, the optical broadcast network includes a plurality of optical links.
[0069] At step 214 , the method 200 includes executing, at a first computing core, a first portion of the computing task to generate a first result.
[0070] At step 216 , the method 200 includes executing a second portion of the computing task at a second computing core to generate a second result.
[0071] For example, the method 200 may include combining the first result and the second result to produce a final result.
[0072] For example, the computing cores may also be electrically independent of each other, and each computing core does not transmit electrical signals to other computing cores.
[0073] For example, the method 200 may include: issuing, at the instruction decoding and issuing module, a third set of instructions for performing a computing task to at least the first computing core and the second computing core. The method 200 may include: executing, at least the first computing core and the second computing core, the third set of instructions and collaboratively completing the computing task. Exemplarily, executing, at at least the first computing core and the second computing core, the third set of instructions and collaboratively completing the computing task may include: executing, at the first computing core, the third set of instructions and performing a first portion of the computing task to produce a first result; and executing, at the second computing core, the third set of instructions and performing a second portion of the computing task to produce a second result.
[0074] For example, the method 200 may include broadcasting synchronization control information of the instruction decoding and issuing module to the first computing core and the second computing core, so that the first computing core and the second computing core synchronize when executing instructions of the first part and the second part of the computing task.
[0075] Exemplarily, the instruction decoding and issuing module broadcasts synchronization control information to the first computing core and the second computing core through the optical broadcast network, so that the first computing core and the second computing core synchronously execute the first part and the second part of the computing task.
[0076] For example, the method 200 may include transmitting a second set of instructions from the instruction decoding and issuing module to at least 4, 8, 16, 32, 64, or 128 computing cores via an optical broadcast network, and using at least 4, 8, 16, 32, 64, or 128 computing cores to collaboratively execute computing tasks.
[0077] For example, the method 200 may include using computing cores to collaboratively address execution of an artificial intelligence workload.
[0078] For example, the method 200 may include using the compute cores to collaboratively process tensors, including using each compute core to process a different portion of a given tensor.
[0079] The computing units (e.g., computers 122, computing cores 102, and instruction decoding and issuing modules 106) and functional operations described in the embodiments of the present application can be implemented with digital electronic circuits or computer software, firmware, or hardware, including the structures disclosed in the embodiments of the present application and their structural equivalents, or a combination of one or more of them. The embodiments of the subject matter described in the embodiments of the present application can be implemented using one or more modules of computer program instructions encoded on a computer-readable medium for executing or controlling the operation of a data processing device by a data processing device. The computer-readable medium can be a manufactured product, such as a hard drive in a computer system or an optical disc sold through a retail channel, or an embedded system. The computer-readable medium can be obtained separately and then encoded using one or more modules of computer program instructions, such as one or more modules of computer program instructions transmitted via a wired or wireless network. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a storage device, or a combination of one or more of them.
[0080] A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored as part of a file that stores other programs or data (for example, one or more scripts stored in a markup language document), in a single file dedicated to the program, or in multiple coordinated files (for example, files storing one or more modules, subroutines, or portions of code). A computer program can be deployed for execution on a single computer, on multiple computers located at a single site, or on multiple computers distributed across multiple sites and connected by a communications network.
[0081] The processes and logic flows of the embodiments of the present application may be performed by one or more programmable processors executing one or more computer programs that perform functions by operating on input data and generating outputs. The processes and logic flows may also be performed by special-purpose logic circuits, and the device may also be implemented as a special-purpose logic circuit, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
[0082] This invention provides a solution for the use of optical signals in optoelectronic computing systems. Through an instruction decoding and distribution module and an optical broadcast network, multiple computing cores can execute instructions synchronously. Furthermore, multiple computing cores can synchronize the execution of different parts of a computing task. The technical solution provided by this invention not only increases system throughput but also allows for the processing of more data, significantly improving the overall computational capacity of the computing system.
[0083] Those skilled in the art should understand that what is disclosed above is merely an embodiment of the present invention, and certainly cannot be used to limit the scope of rights for which the present invention is requested for patent protection. Equivalent changes made based on the embodiment of the present invention still fall within the scope covered by the claims of the present invention.
Claims
1. An optoelectronic computing system, include: A plurality of computing cores configured to execute instructions synchronously, the plurality of computing cores comprising a first computing core and a second computing core; an instruction decoding and issuing module configured to receive a first set of instructions from a data processor, decode the first set of instructions to generate a second set of instructions, and send the second set of instructions to the plurality of computing cores; as well as An optical broadcast network includes a plurality of optical links coupled between the instruction decode and issue module and the plurality of computing cores, wherein the optical links are configured to transmit the second set of instructions from the instruction decode and issue module to each computing core of the plurality of computing cores.
2. The optoelectronic computing system according to claim 1, in, The multiple computing cores are electrically independent of each other, and each computing core does not transmit electrical signals to other computing cores.
3. The optoelectronic computing system according to claim 1, in, The instruction decoding and issuing module is configured to issue a third group of instructions for performing a computing task to at least two of the multiple computing cores, the multiple computing cores are configured to execute the third group of instructions and collaboratively complete the computing task, the first computing core is configured to execute the third group of instructions and execute a first part of the computing task to produce a first result, and the second computing core is configured to execute the third group of instructions and execute a second part of the computing task to produce a second result.
4. An optoelectronic computing system according to any one of claims 2 to 3, in, The first computing core and the second computing core execute instructions synchronously, and when executing instructions synchronously, execute the first part and the second part of the computing task according to the synchronization control information broadcast by the instruction decoding and issuing module.
5. The optoelectronic computing system according to claim 4, in, The number of the multiple computing cores is at least 4.
6. The optoelectronic computing system according to claim 1, in, A photonic integrated circuit chip is included, and the photonic integrated circuit chip includes the optical broadcast network.
7. The optoelectronic computing system according to claim 1, comprising a substrate, in, The computing core and the instruction decoding and issuing module are formed on the substrate, wherein a plurality of optical links include optical waveguides formed on the substrate, the optical waveguides being coupled between the instruction decoding and issuing module and the plurality of computing cores.
8. The optoelectronic computing system according to claim 1, in, A computing module having a single instruction multiple data (SIMD) architecture is included, wherein the computing module includes the multiple computing cores, the instruction decoding and issuing module, and the optical broadcast network.
9. The electro-optical computing system according to claim 1, in, The multiple computing cores are configured to work together to solve execution problems of artificial intelligence workloads.
10. The optoelectronic computing system according to claim 1, in, The plurality of computing cores are configured to work collaboratively to process tensors, and each of the computing cores is configured to work on a different portion of a given tensor.
11. A data processing method, the method include: receiving, at the instruction decoding and issuing module, a first group of instructions sent from a data processor, decoding the first group of instructions, and generating a second group of instructions based on the first group of instructions; as well as Transmitting the second set of instructions from the instruction decoding and issuing module to a plurality of computing cores respectively through an optical broadcast network comprising a plurality of optical links, wherein the plurality of computing cores include a first computing core and a second computing core; At the first computing core, executing a first portion of the computing task to generate a first result; and At the second computing core, a second portion of the computing task is executed to generate a second result.
12. The method according to claim 11, in, The method further comprises: The first result and the second result are combined to produce a final result.
13. The method according to claim 11, in, The multiple computing cores are electrically independent of each other, and each computing core does not transmit electrical signals to other computing cores.
14. The method according to claim 11, in, include: issuing, on the instruction decoding and issuing module, a third group of instructions for executing a computing task to the first computing core and the second computing core; At the first computing core and the second computing core, executing the third set of instructions and collaboratively completing the computing task includes: At the first computing core, executing the third set of instructions and performing a first portion of the computing task to produce a first result; as well as At the second computing core, the third set of instructions is executed and a second portion of the computing task is performed to produce a second result.
15. The method according to claim 11, in, The method further comprises: The instruction decoding and issuing module broadcasts synchronization control information to the first computing core and the second computing core through the optical broadcast network, so that the first computing core and the second computing core synchronously execute the first part and the second part of the computing task.
16. The method according to claim 11, in, The method comprises: The second group of instructions from the instruction decoding and issuing module is transmitted to at least four computing cores through the optical broadcast network, and the computing tasks are collaboratively executed by the four computing cores.
Citation Information
Patent Citations
Photoelectric computing system and data processing method
CN118860059A
Computing group structure for superlong instruction word and instruction flow multidata stream fusion
CN101021778A
Optical broadcast systems and methods
CN102067494A
B-M2M-based machine learning method and system, a base station and a medium
CN113869523A
Instruction generating and distributing device of single-instruction, multi-data type parallel computer
JP1996235149A
