The invention discloses a
data processing method and
system based on a
data stream architecture, and relates to the field of computer
system architecture design. Comprising the steps of 1, creating a
data stream architecture accelerator used for executing acceleration of tridiagonal matrix solving in
data processing, 2, when the
data stream architecture accelerator is used for executing acceleration of tridiagonal matrix solving in
data processing, the data
stream architecture accelerator runs in a
host machine, input data is issued to a global memory of the accelerator according to a calculation task, and the acceleration is executed. A
firmware program of the computing core is initialized, the
firmware program is used for loading a corresponding kernel program, the kernel program is used for executing a corresponding task load, a data load kernel program is used for initiating a read-write request to carry out data handling, and a computing load kernel program is used for consuming input data, executing a corresponding
algorithm and generating output data; the calculation load kernel program comprises transposition distribution, forward
elimination and backward substitution, specification and de-reconstruction, various kernel programs are issued to a calculation core of the data
stream architecture accelerator in real time and are scheduled and executed, and a calculation result is retrieved from a global memory of the accelerator after the execution is finished.