一种对程序进行编译优化的方法和相关产品

By inserting instrumentation code to collect statistical information in a heterogeneous processor environment, the problem that existing compiler optimizations cannot take into account dynamic behavior is solved, and higher performance program optimization is achieved.

CN115617318BActive Publication Date: 2026-07-17CAMBRICON TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CAMBRICON TECH CO LTD
Filing Date
2021-07-14
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing compiler optimization methods cannot effectively take into account the dynamic behavior of programs, resulting in the compiled program's performance not reaching its optimal level.

Method used

In a heterogeneous processor environment, runtime statistics are collected by inserting instrumentation code into the second program, and the second program is optimized based on this information.

Benefits of technology

It improves program performance, achieves deeper compilation optimization, and generates programs with higher performance than ordinary compilation optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115617318B_ABST
    Figure CN115617318B_ABST
Patent Text Reader

Abstract

本公开提供一种在处理器系统下对程序进行编译优化的方法,该方法可以实现在计算装置中,其中计算装置可以包括在组合处理装置中,该组合处理装置还可以包括通用互联接口和其他处理装置。所述计算装置与其他处理装置进行交互,共同完成用户指定的计算操作。组合处理装置还可以包括存储装置,该存储装置分别与计算装置和其他处理装置连接,用于计算装置和其他处理装置的数据。
Need to check novelty before this filing date? Find Prior Art