-
公开(公告)号:US20210149985A1
公开(公告)日:2021-05-20
申请号:US17093718
申请日:2020-11-10
Inventor: Min-Soo KIM , Dong Hyoung HAN , Sung Jin LEE
Abstract: A matrix multiplication calculation apparatus of the disclosure includes an auxiliary memory device storing a first input matrix and a second input matrix, a cuboid candidate determining module generating a plurality of cuboid candidates and a plurality of subcuboid candidates based on the first input matrix, the second input matrix, a central processing unit (CPU) memory size, and a graphics processing unit (GPU) memory size, a cuboid size determining module configured to determine a size of the plurality of cuboids based on the CPU memory size from among the plurality of cuboid candidates, and determine a size of the plurality of subcuboids based on the GPU memory size from among the plurality of subcuboid candidates, a matrix partitioning module partitioning the first input matrix and the second input matrix to the plurality of cuboids based on the size of the plurality of cuboids determined in the cuboid size determining module, a matrix multiplication calculation module performing matrix multiplication calculation on the plurality of subcuboids obtained based on the size of the plurality of subcuboid determined in the cuboid size determining module, and a matrix block accumulation module accumulating matrix multiplication calculation on the plurality of subcuboids obtained from the matrix multiplication calculation module.