A management method, device and computer storage medium related to video memory

A management method and system memory technology, applied in the field of video memory management, can solve problems such as large data and large performance loss

Active Publication Date: 2020-05-22
西安芯云半导体技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The data of the buffer object is usually large. If the GPU copies the buffer object from the system memory to the GPU memory before each parallel operation, the copying process will cause a large performance loss.

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
  • A management method, device and computer storage medium related to video memory
  • A management method, device and computer storage medium related to video memory
  • A management method, device and computer storage medium related to video memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0029] In general, buffer objects (BO, Buffer Object) allow graphics applications to explicitly specify which data is stored in the graphics card's video memory for processing by the GPU. In the conventional solution, the buffer object is usually stored in the system memory first, and then the buffer object is copied to the video memory by the system memory when rendering is required. The specific process is as follows: figure 1 Shown:

[0030] Step S1: the CPU creates a BO based on a graphics application;

[0031] Step S2: CPU writes BO into system memory RAM;

[0032] Step S3: the CPU sends a rendering command to the GPU through the graphics kernel driver based on the graphics application program;

[0033] Step S4: The graphics kernel driver stores the BO from the system ...

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 embodiment of the invention discloses a video memory management method and device and a computer storage medium. The video memory management method can comprise the following steps that: a graphics processing unit GPU driver allocates a physical space to a created buffer object in a video memory based on a set allocation logic; the GPU drive program performs memory mapping MMAP operation on the created buffer area object so as to establish a mapping relationship between a physical address of the created buffer area object in the video memory and a virtual address in a system memory; the GPU drive program writes the mapping relation into a mapping table of a memory management unit MMU of a GPU; and the graphic application program writes data to be buffered into a buffer physical space allocated by the GPU drive program in the video memory through the created buffer object through the GPU drive program.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of video memory management of graphics processors, and in particular, to a video memory management method, device, and computer storage medium. Background technique [0002] Computing devices typically have at least one programmable processing element, often referred to as a central processing unit (CPU); in addition, computing devices typically have other programmable processors for various types of specialized processing, Such as a graphics processing unit (GPU, Graphic Processing Unit) for graphics processing operations. A GPU typically includes multiple cores or processing elements designed to execute instructions and data provided by the CPU on parallel data streams based on the same instructions, thereby enabling the GPU to be more efficient than the CPU in algorithms that process large blocks of data in parallel. Generally speaking, the CPU acts as the system master of the compu...

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): G06F9/50G06T1/60
CPCG06F9/5016G06F9/5077G06T1/60
Inventor 孙建康马超
Owner 西安芯云半导体技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products