A method for adaptive selection of JPEG decoding CPU, GPU path based on runtime performance measurement

By constructing a lightweight micro-benchmark model and monitoring GPU frequency in real time, and adaptively selecting the CPU or GPU path for JPEG decoding, the performance inversion problem caused by the static threshold strategy is solved, achieving efficient decoding and stability on heterogeneous platforms.

CN122243718APending Publication Date: 2026-06-19COMP APPL TECH INST OF CHINA NORTH IND GRP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
COMP APPL TECH INST OF CHINA NORTH IND GRP
Filing Date
2026-04-23
Publication Date
2026-06-19

Smart Images

  • Figure CN122243718A_ABST
    Figure CN122243718A_ABST
Patent Text Reader

Abstract

This invention relates to a method for adaptive selection of CPU and GPU paths for JPEG decoding based on runtime performance measurement, belonging to the field of heterogeneous computing technology. The method includes pre-measuring the performance of a heterogeneous platform consisting of a CPU, GPU, and the PCIe bus connecting the CPUs to obtain the average time the CPU spends computing a single DCT block, the effective bidirectional bandwidth of the PCIe bus, and the fixed startup overhead of the GPU task; online measurement to obtain the actual computation time of the GPU executing a single DCT block; the CPU performs entropy decoding on the input JPEG image to obtain _DCT blocks; the CPU predicts the total time based on N and _, and the GPU predicts the total time based on _, _, and _; based on the CPU's predicted total time and the GPU's predicted total time, the method adaptively selects either the CPU path or the GPU path to decode _DCT blocks; if the GPU path is selected, when the current operating frequency of the GPU exceeds a preset threshold, the method updates the frequency in real time based on the current operating frequency of the GPU. This achieves adaptive selection of CPU or GPU for JPEG image decoding.
Need to check novelty before this filing date? Find Prior Art