Optimization Strategy of Programs Based on Heterogeneous Parallel Environment

The heterogeneous parallel environment which formed by the CPU and GPU,can improve the execution speed and processing power of computing system.Several optimization approaches are designed to transform the program in the heterogeneous environment.Firstly,it dynamically allocates the resource of the system according to the size of the data and the status of the calculation.And then it realizes the algorithm on the heterogeneous environment,based on share memory optimization,instruction optimization and memory coalescing technology.Thus,the algorithm is transformed into a parallel processing mode which can enhance the execution efficiency.An experiment based on optimization of protein folding structure prediction algorithm shows the validity of the strategy.The high execution speed and better rate can be got by using this method,which has great meaning and value on the research of the folding structure of protein.