This invention relates to the field of
computer multitasking parallel computing technology, and in particular to a method and apparatus for
performance prediction and collaborative optimization based on an autonomous heterogeneous platform. The method includes monitoring the resources of the running autonomous heterogeneous platform to obtain its real-time performance data, wherein computational
inference tasks run on different computing units of the autonomous heterogeneous platform; fitting historical performance data within a preset time window to obtain performance peaks; predicting the performance of the real-time performance data to obtain predicted performance indicators; and reallocating the computational
inference tasks to different computing units of the autonomous heterogeneous platform for execution based on the predicted performance indicators and the performance peaks. This invention can improve the
resource utilization and execution efficiency of autonomous heterogeneous platforms under multitasking loads.