Program running method, device, processor chip, electronic device and storage medium

By executing two independent programs in parallel in heterogeneous processors, the problem of low utilization and efficiency of heterogeneous processors is solved, and efficient program operation and data security are achieved.

CN113641404BActive Publication Date: 2024-10-29KUNLUNXIN TECHNOLOGY (BEIJING) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110819963.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-20
Publication Date
2024-10-29
Estimated Expiration
2041-07-20

AI Technical Summary

Technical Problem

Existing heterogeneous processors have low utilization and efficiency when executing programs, and cannot effectively utilize the parallel execution capabilities of coprocessors.

Method used

By sending a request message to the host computer while waiting for the instruction of the coprocessor to execute the first program, the second program that does not depend on the execution result of the first program is obtained, and the second program is run while the coprocessor executes the first program. , to achieve parallel execution of two programs without dependencies in heterogeneous processors.

Benefits of technology

It improves the utilization rate of heterogeneous processors and program running efficiency, ensures the consistency and security of data reading and writing, and improves overall performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113641404B_ABST
    Figure CN113641404B_ABST
Patent Text Reader

Abstract

The present disclosure proposes a program running method, device, processor chip, electronic device and storage medium, which relate to the field of artificial intelligence chip technology. The specific implementation scheme is: obtain a first program, parse the first program to obtain each first instruction, send each first instruction to the corresponding coprocessor, and send a request message to the host computer while waiting for the coprocessor to execute the first instruction, wherein the request message is used to obtain a second program that does not depend on the running result of the first program, obtain the second program sent by the host computer, and run the second program. In the present disclosure, after the first program is completed and the coprocessor executes the first instruction, the second program that does not depend on the running result of the first program is run, thereby realizing the simultaneous running of two programs that do not have a dependency relationship in a heterogeneous processor, improving the utilization rate of the heterogeneous processor, and improving the program running efficiency.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Computer instruction processing method, coprocessor and system

    CN106325819A