The application relates to a kind of
discrete fourier transform implementation method and equipment based on matrix operation unit, the method comprises:
DFT matrix is transformed arrangement and generates the
DFT matrix of transformed arrangement, the
DFT matrix of transformed arrangement and input
data matrix are copied to equipment global memory in host end;Start computing kernel, input
data matrix and the DFT matrix of transformed arrangement are read to the data on-
chip cache from global memory, input
data matrix and DFT matrix are multiplied by calling matrix operation unit, and the operation result of
discrete fourier transform is obtained;Host end copies result data from equipment global memory to
host memory, and releases computing resource.The application directly adopts
matrix multiplication operation to calculate DFT, does not need additional complex imaginary-real separation combination operation, can reduce global memory
access frequency, improves the execution efficiency of entire
complex matrix multiplication operation, improves equipment DFT calculation efficiency.