Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Matrix Transpose Optimization Method Based on Graphics Processor

A graphics processor, matrix transposition technology, applied in processor architecture/configuration, machine execution device, complex mathematical operations, etc., can solve the problem of memory access optimization without matrix parallelization transposition, achieve parallel processing, The effect of improving operation speed and operation accuracy, and improving bandwidth utilization

Active Publication Date: 2016-08-24
北京新松佳和电子系统股份有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There is currently no memory-access-optimized operation for matrix-parallelized transpose on GPU cores

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Matrix Transpose Optimization Method Based on Graphics Processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0030] Fig. 1 has shown the flow chart of the matrix transposition parallel optimization method based on graphics processor of the present invention, and the hardware platform that embodiment adopts is: ASUS motherboard, graphics card; Software platform is: Microsoft operating system, Microsoft Corporation development kit, but It is not limited to this.

[0031] The matrix transposition optimization based on graphics processor of the present invention comprises the following steps:

[0032] Step S1: The transposed matrix has R rows and S columns, and each matrix element is a complex number, that is, includes the real part and the imaginary part of the number. Since there is no direct operation function for a two-dimensio...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a graphics processing unit based matrix transpose optimization method. The method includes: converting an R-line S-column input matrix into a one-dimensional array, allocating storage spaces and copying data; setting a two-dimensional index space; computing global identifiers, workgroup identifiers and local identifies of work items; partitioning the matrix, and corresponding matrix partitions to workgroups; applying for local memories in the workgroups, copying the data into the local memories and synchronously waiting for completion of data copying; computing column and line indexes of the transposed data in a global memory; computing locations of output data in the global memory and local memories; assigning the data of the local memories to the one-dimensional array in the global memory to realize conflict-free memory consolidation access; and copying the one-dimensional array to the memories to form an S-line R-column superposed matrix. By the method, parallel computation of consolidation access and matrix transpose is realized, and execution efficiency of programs is improved.

Description

technical field [0001] The invention belongs to the technical field of general computing graphics processors, and mainly relates to a matrix transposition optimization method based on graphics processors. Background technique [0002] General Purpose Computing on Graphics Processing Units-GPGPU (General Purpose Computing on Graphics Processing Units-GPGPU) is a technology that uses a graphics card graphics processor to handle general computing tasks. The graphics processing unit shares the computing tasks of the central processing unit, increasing the processing speed of the computer by hundreds or thousands of times, or even faster. This resulted in the Open Computing Language (OpenComputing Language). Managed by a Computing Working Group made up of representatives from various processor and software manufacturers, the Open Computing Language provides a set of standard application programming interfaces that make programming graphics processors easier for programmers. [...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/16G06F9/38G06T1/20
Inventor 田卓樊双丽
Owner 北京新松佳和电子系统股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products