GPU acceleration method and GPU acceleration device

An acceleration structure and buffer technology, applied in the field of hardware acceleration, can solve the problems of delayed GPU acceleration operation and low efficiency of GPU acceleration, and achieve the effect of shortening the time submitted to the GPU and improving efficiency

Active Publication Date: 2017-05-17
LOONGSON TECH CORP
View PDF8 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing acceleration scheme requires two buffer allocation operations and a large number of memcpy operations before calling the GPU for acceleration operations, which delays the execution of GPU acceleration operations and makes GPU acceleration inefficient.

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
  • GPU acceleration method and GPU acceleration device
  • GPU acceleration method and GPU acceleration device
  • GPU acceleration method and GPU acceleration device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0040] The method and device involved in the embodiment of the present invention can be applied to a Linux graphics system to realize graphics acceleration, and it aims to solve the technical problem of low GPU acceleration efficiency in graphics acceleration schemes in the prior art.

[0041] The technical solution of the present invention will b...

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 provides a GPU (Graphics Processing Unit) acceleration method and a GPU acceleration device. The method comprises the following steps: calling a GPU driver in the kernel through a continuous physical memory allocation function in an EXA driver to make a GPU allocate a contiguous physical address buffer area for the EXA driver; filling out the contiguous physical address buffer area with to-be-accelerated data; and submitting the physical addresses in the contiguous physical address buffer area and corresponding acceleration instructions to the GPU driver to make the GPU accelerate data. According to the technical scheme provided by the invention, one buffer area allocation operation and a large number of memcpy operations are saved, the time for submitting acceleration instructions to the GPU is shortened effectively, and the efficiency of GPU acceleration is improved.

Description

technical field [0001] The present invention relates to hardware acceleration technology, in particular to a GPU acceleration method and device. Background technique [0002] Graphics acceleration structure (Ex-kaa aXeleration Architecture, EXA) driver is the interface between the graphics card in the Linux graphics system and the X window system. It is the interface layer for the Linux graphics system to achieve GPU hardware acceleration. It works on the graphics interface server Xserver in the X window system Underneath and above the graphics card's kernel graphics processing unit (Graphics Processing Unit, GPU) driver, the X window system realizes the 2D graphics card acceleration of all Linux graphics systems through the EXA driver. [0003] In the current graphics acceleration solution, before the Xserver calls the GPU through the EXA driver to perform an acceleration operation, it first allocates a discontinuous memory buffer for the EXA driver in the user space to sto...

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 Applications(China)
IPC IPC(8): G06T1/60
CPCG06T1/60
Inventor 王洪虎
Owner LOONGSON TECH CORP
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