ISSN 1000-1239 CN 11-1777/TP

• 软件技术 •

### 最小通信开销的Direct Send并行图像合成方法

1. (西北核技术研究所 西安 710024) (weaponfire2005@foxmail.com)
• 出版日期: 2018-04-01

### A Direct Send Image Compositing Algorithm with Minimal Communication Costs

Wang Pan, Yang Pingli, Huang Shaohua, Lin Chengdi, Kong Longxing

1. (Northwest Institute of Nuclear Technology, Xi’an 710024)
• Online: 2018-04-01

Abstract: Sort-last is the most widely used method for large scale parallel visualization, and the bottleneck of sort-last method is the image compositing stage. Direct Send is the cornerstone for all other compositing algorithms, so it makes a lot of sense to improve its performance for accelerating image composition. To minimize the communication cost in image compositing, we propose a new type of Direct Send method. Compared with the static partition strategy of the traditional Direct Send, our method is dynamic and adaptive, and it is composed of two phrases: Firstly, we compute all active pixel prefix sums of each image by GPU multi-threads in parallel. This process can remove the background pixels tremendously, and the images are all compressed efficiently. Secondly, a dynamic programming model is built and solved to generate the optimal partitions of subimages for Direct Send image compositing, which ensures that the communication costs of Direct Send is minimal. In the experiments, we firstly measure the image compression ratios of our method, and obtain the optimal size of pixel blocks. Then, we compare the compositing time of our method with RLE and greedy algorithm on varying number of rendering nodes, showing that our method is more efficient than the existing two methods.