Single-precision matrix multiplication optimization method and system based on NVIDIA Kepler GPU assembly instruction
An optimization method and technology of assembly instructions, applied in memory systems, complex mathematical operations, program control design, etc., can solve problems such as low performance, inability to control each part of assembly instructions, and inability to intuitively understand the meaning of assembly instructions, so as to avoid conflicts. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] Specifically, the network virtualization framework involved in the present invention is as figure 1 shown. The steps of using the double-buffered matrix multiplication algorithm on the GPU are as follows:
[0034] Step 1: First, block the original matrix according to bm (column length of A matrix block) and bn (row length of B matrix block), and each block processes the output matrix C of dimension;
[0035] Step 2: Create 4 temporary storage spaces smA, smB, smAx and smBx on shared memory (secondary storage on GPU);
[0036] Step 3: Read the smA-sized matrix to smA from matrix A on the global memory (first-level storage on the GPU), and read the smB-sized matrix from matrix B to smB;
[0037] Step 4: Load one column (A matrix block data) from smA to the register each time, load one row (B matrix block data) from smB to the register, use the FFMA (multiply plus fusion) instruction to do matrix multiplication, and do matrix While multiplying, read the next line of sm...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com