Home > Common Problem > What is the relationship between gpu and cpu

What is the relationship between gpu and cpu

青灯夜游
Release: 2023-02-21 11:11:07
Original
9654 people have browsed it

GPU is the graphics processor of the computer, and CPU is the central processing unit of the computer. The GPU reduces the graphics card's dependence on the CPU and performs some of the original CPU's work. GPU is a microprocessor that is specialized in image and graphics-related calculations on personal computers and some mobile devices to achieve graphics acceleration. The most important thing now is to achieve 3D graphics acceleration.

What is the relationship between gpu and cpu

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

What are gpu and cpu? What's the relationship between the two?

gpu is the graphics processor of the computer, and cpu is the central processing unit of the computer.

CPU is generally composed of a logical operation unit, a control unit and a storage unit. It is the final execution unit for information processing and program execution. GPU is a microprocessor that is specialized in image and graphics-related operations on personal computers and some mobile devices to achieve graphics acceleration. The most important thing now is to achieve 3D graphics acceleration. The number of cores of GPU far exceeds that of CPU and is called many cores, but the cache size of each core is relatively small.

The GPU reduces the graphics card's dependence on the CPU and performs some of the original CPU's work, especially in 3D graphics processing. The core technologies used by the GPU include hardware T&L (geometry conversion and lighting processing), cubic environment Material mapping and vertex blending, texture compression and bump mapping, dual texture four-pixel 256-bit rendering engine, etc., and hardware T&L technology can be said to be the hallmark of GPU. The main manufacturers of GPUs are NVIDIA and ATI.

What is the relationship between gpu and cpu

Extended knowledge: Introduction to GPU (Graphics Processing Unit)

Graphics Processor

CPU consists of two major components: Arithmetic Unit (ALU) and Controller (CU) . In addition, there are several registers and cache memories and data, control and status buses that connect them. The ALU is used to perform arithmetic operations, shift operations, address operations and conversions; the register device is used to save intermediate data and instructions; the CU is responsible for decoding instructions and issuing control signals for each operation to be performed to complete each instruction.

What is the relationship between gpu and cpu

The operation of the CPU follows the Von Neumann architecture: stored program sequential execution. The program execution process is as follows:

The CPU obtains instructions from the memory according to the program counter (Program Counter, PC), and then sends the instructions to the decoder through the instruction bus, and translates them The subsequent instructions are handed over to the timing generator and operation controller, and then the data is obtained from the memory and processed by the arithmetic unit. Finally, the data is stored in the data cache register and memory through the data bus.

CPU processes data step by step. When processing large-scale and high-speed data, it is difficult for the CPU to meet the needs.

What is the relationship between gpu and cpu

When the integration level of the chip increases, the leakage current also increases, but the increase in clock frequency is limited, and the line width of the transistor will soon reach the physical limit , so the performance of the chip is difficult to improve by reducing the transistor line width. As a result, people began to make a fuss about the design. The first thing they thought of was to let multiple processors work in parallel, which naturally improved the efficiency a lot, so multi-core CPUs and GPUs were born.

Another idea is to keep the chip unchanged and add artificial intelligence to the application system to obtain computing benefits

. With the advent of the big data era, there are more and more artificial intelligence-oriented application systems. In modern computers, graphics processing is becoming more and more important, so a core processor GPU that specializes in graphics processing has emerged. For processing graphics data, every pixel on the graphics must be processed, which is a big data, so the requirements for computing speed are very high. However, the functions required by the GPU are relatively simple, so the GPU architecture based on optimized graphics processing was born.

What is the relationship between gpu and cpu#CPU has many functional modules and is suitable for complex computing environments. Most of the transistors are used in the control circuit and Cache, and a small number of transistors are used to complete computing work. The control of the GPU is relatively simple and does not require a large Cache. Most transistors can be used in various special circuits and pipelines.

The computing speed of the GPU is therefore greatly increased, and it has powerful floating point computing capabilities

.

The current multi-core CPU is generally composed of 4 or 6 cores, which simulates 8 or 12 processing processes to calculate

. But ordinary GPUs contain hundreds of cores, and high-end ones have tens of thousands of cores. This has a natural advantage for a large number of repeated processing processes in multimedia processing, and more importantly, it can be used to process large-scale parallel data deal with.

Although the GPU is designed for image processing, its architecture does not have a dedicated image processing algorithm. It only optimizes the CPU architecture. Therefore, the GPU is not only widely used in image processing, but also It is widely used in fields that require parallel computing, such as scientific computing, password cracking, numerical analysis, big data processing, and financial analysis. GPU is a more general professional chip.

Composition of graphics processor

The circuit board of GPU is generally a 6-layer or 4-layer PCB circuit board. All components of the GPU are integrated on its circuit board, and the circuit board affects the quality of the GPU.

GPU The largest chip on the circuit board is the GPU, which has a heat sink and a fan. As the core of data processing, most GPUs adopt a single-chip design, while professional GPUs also use multiple GPU chips.

Another important chip on the GPU circuit board is the digital/analog converter (RAMDAC). Its function is to convert the digital signal in the video memory into an analog signal that the monitor can recognize. The speed is in MHz as the unit. The faster the speed, the more stable the image. It determines the maximum speed that the GPU can support. Refresh frequency. In order to reduce costs, most manufacturers have integrated digital/analog converters into GPU chips, but there are still some high-end GPUs that use independent digital/analog converter chips.

GPU data is stored in the video memory, and the video memory is used to store graphics data information waiting to be processed. Video memory capacity determines the resolution and color depth supported by the GPU. The higher the resolution, the more pixels are displayed and the larger the video memory capacity required. For current 3D GPUs, a large amount of video memory is required to store Z-Buffer data or material data.

There are two major categories of video memory: Single-ended and Double-ended video memory. The former reads data from the GPU and transmits the data to the digital/analog converter through the same port. Data reading, writing and transmission cannot be performed at the same time; the latter can read, write and transmit data at the same time. Currently popular video memories include SDRAM, SGRAM, DDR RAM, VRAM, WRAM, etc.

Common types of capacitors used on GPU circuit boards include electrolytic capacitors, tantalum capacitors, etc. The former generates greater heat. Many famous brand GPUs use tantalum capacitors to improve performance. The same is true for resistors. Common metal film resistors and carbon film resistors are increasingly giving way to chip resistors.

The GPU circuit board has a power supply circuit that supplies power to the GPU. Its role is to adjust the current from the motherboard for the GPU to work stably. As GPUs become more and more sophisticated, the requirements for GPU power supply circuits are also getting higher and higher.

There is also a flash memory for VGA BIOS on the GPU circuit board. It contains information such as GPU and driver control programs, product identification, etc. This flash memory can be upgraded through a dedicated program to improve GPU performance and sometimes give the GPU a makeover.

The GPU circuit board has components such as crystal oscillators that provide the digital/analog conversion clock frequency to the inside of the GPU. In addition, since the frequency of the GPU is getting higher and higher, it generates a lot of heat when working, and there will also be a cooling fan on the GPU circuit board.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What is the relationship between gpu and cpu. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template