Accelerating Astronomical Image Subtraction on Heterogeneous Processors

Image subtraction is an effective method used in astronomy to search transient objects or identify objects that have time-varying brightness. The state-of-the-art astronomical image subtraction methods work by taking two aligned images of the same observation area, calculating a space-varying convolution kernel for the two images, and finally obtaining the difference image using the convolution kernel. With the need for fast image subtraction in astronomy projects, we study the parallelization of HOTPANTS, a popular astronomical image subtraction package by Andrew Becker, on multicore CPUs and GPUs. Specifically, we identify the components in HOTPANTS that are data parallel and parallelize these components on the GPU and multicore CPU. We divide the work between the CPU and the GPU to minimize the overall time. In the GPU-based components, we investigate the suitable setup of the GPU thread structure for the computation, and optimize data access on the GPU memory hierarchy. Consequently, P-HOTPANTS (our parallel zed HOTPANTS), achieves a 4-times speedup over the original HOTPANTS running on a desktop with an Intel i7 CPU and an NVIDIA GTX580 GPU.

[1]  R. Lupton,et al.  A Method for Optimal Image Subtraction , 1997, astro-ph/9712287.

[2]  C. Alard Image subtraction using a space-varying kernel , 2000 .

[3]  Nick Kaiser,et al.  Pan-STARRS: a wide-field optical survey telescope array , 2004, SPIE Astronomical Telescopes + Instrumentation.

[4]  A. Hazi,et al.  A Wide New Window on the Universe , 2006 .

[5]  Victor Podlozhnyuk,et al.  Image Convolution with CUDA , 2007 .

[6]  Wen-mei W. Hwu,et al.  Optimization principles and application performance evaluation of a multithreaded GPU using CUDA , 2008, PPoPP.

[7]  Valerio Pascucci,et al.  Hybrid CPU-GPU Solver for Gradient Domain Processing of Massive Images , 2011, 2011 IEEE 17th International Conference on Parallel and Distributed Systems.

[8]  G. Bruce Berriman,et al.  How Will Astronomy Archives Survive the Data Tsunami? , 2011, ACM Queue.

[9]  Amr H. Hassan,et al.  Astrophysical Supercomputing with GPUs: Critical Decisions for Early Adopters* , 2010, Publications of the Astronomical Society of Australia.

[10]  Carlton R. Pennypacker,et al.  GPU acceleration of image convolution using spatially-varying kernel , 2012, 2012 19th IEEE International Conference on Image Processing.

[11]  A. Kai Qin,et al.  An improved CUDA-based implementation of differential evolution on GPU , 2012, GECCO '12.

[12]  Yi Yang,et al.  CPU-assisted GPGPU on fused CPU-GPU architectures , 2012, IEEE International Symposium on High-Performance Comp Architecture.