The invention discloses a processor
memory sharing method based on a Crossbar
chip architecture, and the method comprises the steps: enabling a processor to achieve the sharing of an intermediate-stage memory and a far-end memory based on a
chip of a Crossbar structure, enabling a plurality of processors to be correspondingly connected with processor ports of the
chip, enabling the intermediate-stage memory to be connected with a
memory processing unit of the chip, and enabling the far-end memory to be connected with the processor ports of the chip; the far-end memory is connected with the
network data processing unit of the chip; when a processor requests to write data into a target far-end memory, the data are written into an intermediate-stage memory Z in an idle state through the Crossbar, and then a switch on a path between the intermediate-stage memory Z and the target far-end memory in a
switch matrix of the Crossbar is controlled to be closed, so that the data written into the intermediate-stage memory Z is transmitted to the target far-end memory. In the
chip architecture provided by the invention, besides the exclusive near-end memory, the processor can share and access the intermediate-stage memory or the far-end memory so as to support the memory space required by
large model operation.