Memory access method, crossbar and computer system
A technology of computer system and crossbar switch, applied in the direction of memory system, calculation, memory address/allocation/relocation, etc., can solve the problems that cannot meet GPU memory requirements, memory access methods cannot meet GPU memory requirements, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] In order to solve the problem that the existing memory access method cannot meet the requirements of the GPU for memory, an embodiment of the present invention provides a memory access method, a crossbar switch and a computer system, wherein the method is applied to a microprocessor MIPS without an internal interlocking pipeline stage The computer system of framework, this computer system comprises: central processing unit CPU, internal memory, crossbar switch and graphics processing unit GPU, crossbar switch is connected with internal memory and GPU respectively, and wherein, the bit number of the binary number that CPU can process once per unit time Greater than the number of bits of the binary number that the GPU can process once per unit time, in the embodiment of the present invention, the memory can be a random access memory (Random Access Memory, RAM for short), a read-only memory (Read-Only Memory, ROM for short) ), or cache (CACHE).
[0041] Specifically, this ...
Embodiment 2
[0049] Based on the basis of Embodiment 1, an optional manner is specifically as follows:
[0050] image 3 A flowchart of a memory access method provided by another embodiment of the present invention, such as image 3 As shown, the method specifically includes the following processes:
[0051] S301: The crossbar receives an access request message sent by the GPU, and the access request message includes: a start address corresponding to the memory space to be accessed;
[0052] S302: The crossbar judges whether the initial address is greater than or equal to the first address, if greater than or equal to, execute S303; otherwise, execute S304;
[0053] S303: The crossbar performs an OR operation on the starting address and the next address of the second address to obtain a mapping address, and the GPU accesses the memory space starting from the mapping address;
[0054] S304: The GPU directly accesses the memory space starting from the starting address.
[0055] Specifica...
Embodiment 3
[0058] Based on the basis of Embodiment 1, another optional manner is specifically as follows:
[0059] Figure 4 The flowchart of the memory access method provided for another embodiment of the present invention, such as Figure 4 As shown, the method specifically includes the following processes:
[0060] S401: The crossbar receives an access request message sent by the GPU, and the access request message includes: a start address corresponding to the memory space to be accessed;
[0061] S402: The crossbar judges whether the starting address is greater than or equal to the first address, if greater than or equal to, execute S403; otherwise, execute S406;
[0062] S403: The crossbar determines a first difference between the start address and the second address, and a second difference between the start address and the third address;
[0063] S404: The crossbar determines an offset based on the start address according to the first difference and the second difference, wher...
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