Execution method of CPU (Central Processing Unit) applied to artificial intelligence related program

A technology of artificial intelligence and related programs, applied in the direction of multi-program device, program control design, program startup/switching, etc., can solve the problems of slowing down the overall speed, increasing time cost, and being unable to complete a program, etc., to achieve optimization The effect of CPU execution time

Pending Publication Date: 2022-05-06
NEXCOM INTERNATIONAL CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Specifically, the CPU usually simply executes the multiple instructions received in order, so it often happens that one execution thread (Thread) of the CPU cannot complete a program and needs to be handed over to the next execution thread to continue the calculation.
When the above phenomenon occurs, the CPU will increase the time cost of executing SWAP, causing the overall speed to slow down, and a higher-level CPU needs to be replaced, or an additional GPU must be installed.

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
  • Execution method of CPU (Central Processing Unit) applied to artificial intelligence related program
  • Execution method of CPU (Central Processing Unit) applied to artificial intelligence related program
  • Execution method of CPU (Central Processing Unit) applied to artificial intelligence related program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Below in conjunction with accompanying drawing, structural principle and working principle of the present invention are specifically described:

[0043] A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

[0044] The present invention discloses an execution method when a CPU is applied to an artificial intelligence-related program (hereinafter referred to as the execution method for short in the specification). CPU) on electronic devices. More specifically, the electronic equipment referred to in the present invention mainly refers to electronic equipment that adopts a lower-level CPU and does not regard an image processing unit (Graphics Processing Unit, GPU) as a necessary equipment, such as a personal computer (Personal Computer , PC), industrial computer (Industrial PC, IPC), industrial server, etc., but not limited thereto. Through the implementation method of the present invention, users...

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

An execution method when a CPU is applied to an artificial intelligence related program comprises the following steps that when TensorFlow is executed on electronic equipment, a corresponding artificial intelligence model is called according to program content; judging and extracting one or more sparse matrixes used by the artificial intelligence model in operation; performing a matrix simplification procedure on the one or more sparse matrixes; performing instruction conversion on an instruction set adopted by the artificial intelligence model; the artificial intelligence model issues an instruction to the weighted value central processing unit through the converted instruction set; and after receiving the instruction, the weighted value central processing unit averagely distributes a plurality of execution threads to execute a plurality of programs indicated by the artificial intelligence model according to the weighted value.

Description

technical field [0001] The present invention relates to a central processing unit, in particular to an execution method for the central processing unit when executing programs related to artificial intelligence. Background technique [0002] In recent years, artificial intelligence technology has developed vigorously, and major companies have invested in the research and development of artificial intelligence-related products. [0003] Generally speaking, software engineers often use TensorFlow developed by Google to develop artificial intelligence related programs. Specifically, TensorFlow is an open source software library applied to machine learning, and TensorFlow provides a variety of artificial intelligence-related models, which are helpful for software engineers to directly use for the development of artificial intelligence. [0004] However, in the prior art, the matrices used by the artificial intelligence-related models to perform calculations are generally not op...

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): G06F9/50G06F9/48
CPCG06F9/5038G06F9/4843
Inventor 曾建维江锦陵陈柏旭
Owner NEXCOM INTERNATIONAL CO LTD
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