The invention relates to the technical field of
automatic tuning of Triton compilers, and discloses an
automatic tuning method for improving heterogeneous
parallel computing performance, which comprises the following steps of: constructing a parameter space containing thread quantity, circular pipeline depth, data
block size, register use quantity limitation and circular expansion factors; a variational automatic
encoder is utilized to
encode historical optimization data, the dependency relationship among parameters is learned, and joint probability distribution of a parameter space is generated. The combination of a Triton
compiler and
machine learning is realized for the first time, an optimal parameter combination is selected from rich configurations, the compiling overhead is reduced, the reasoning efficiency of a front-end model is improved, the
energy consumption of a parallel
system is saved, and the prediction precision, the
balance performance and the energy efficiency are continuously improved through iterative optimization. The problem that parallel parameters cannot be combined with application programs and hardware feature information to make optimal solutions is solved.