Author_Institution :
Electr. Eng. Dept., Aswan Univ., Aswan, Egypt
Abstract :
This paper proposes a simultaneous multithreaded matrix processor called SMMP to improve the performance of data-parallel applications by exploiting ILP, DLP, and TLP. In SMMP, the well-known 5-stage pipeline (baseline scalar processor) is extended to execute multi-scalar/vector/matrix instructions on unified parallel execution datapaths. SMMP can issue four scalar instructions from two threads each cycle or four vector/matrix operations from one thread, where the execution of vector/matrix instructions in threads is done in round-robin fashion. Moreover, this paper presents the implementation of our proposed SMMP using VHDL targeting FPGA Virtex-6. In addition, the performance of SMMP is evaluated on some kernels from the basic linear algebra subprograms (BLAS). Our results show that, the hardware complexity of SMMP is 5.68 times higher than the baseline scalar processor. However, speedups of 4.9, 6.09, 6.98, 8.2, 8.25, 8.72, 9.36, 11.84, and 21.57 are achieved on BLAS kernels of applying Givens rotation, scalar times vector plus another, vector addition, vector scaling, setting up Givens rotation, dot-product, matrix-vector multiplication, Euclidean length, and matrix-matrix multiplications, respectively. In conclusion, the average speedup over the baseline is 9.55 and the average speedup over complexity is 1.68.
Keywords :
computational complexity; digital arithmetic; field programmable gate arrays; matrix multiplication; multi-threading; performance evaluation; pipeline processing; 5-stage pipeline; BLAS; BLAS kernels; DLP; Euclidean length; FPGA Virtex-6; FPGA implementation; Givens rotation; ILP; SMMP; TLP; VHDL; baseline scalar processor; basic linear algebra subprograms; data-parallel applications; dot-product; hardware complexity; matrix-matrix multiplications; matrix-vector multiplication; multiscalar-vector-matrix instructions; performance evaluation; round-robin fashion; simultaneous multithreaded matrix processor; unified parallel execution datapaths; vector addition; vector scaling; vector-matrix operations; Flip-flops; Hardware design languages; Manufacturing; Registers; Timing; Tin; Vectors; FPGA/VHDL implementation; data-parallel applications; performance evaluation; simultaneous multithreading; vector/matrix processing;