GRay: A MASSIVELY PARALLEL GPU-BASED CODE FOR RAY TRACING IN RELATIVISTIC SPACETIMES

被引:87
作者
Chan, Chi-Kwan [1 ,2 ,3 ]
Psaltis, Dimitrios [1 ,4 ]
Oezel, Feryal [1 ,4 ,5 ]
机构
[1] Univ Arizona, Dept Astron, Tucson, AZ 85721 USA
[2] NORDITA, KTH Royal Inst Technol, SE-10691 Stockholm, Sweden
[3] Stockholm Univ, SE-10691 Stockholm, Sweden
[4] Harvard Smithsonian Ctr Astrophys, Inst Theory & Computat, Cambridge, MA 02138 USA
[5] Harvard Univ, Radcliffe Inst Adv Study, Cambridge, MA 02138 USA
基金
美国国家科学基金会;
关键词
gravitation; methods: numerical; radiative transfer; SGR A-ASTERISK; BLACK-HOLE; ACCRETION DISKS; NEUTRON-STARS; HOT-SPOTS; OSCILLATIONS; MAGNETOHYDRODYNAMICS; SIMULATIONS; MODELS; FLARES;
D O I
10.1088/0004-637X/777/1/13
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
We introduce GRay, a massively parallel integrator designed to trace the trajectories of billions of photons in a curved spacetime. This graphics-processing-unit (GPU)-based integrator employs the stream processing paradigm, is implemented in CUDA C/C++, and runs on nVidia graphics cards. The peak performance of GRay using single-precision floating-point arithmetic on a single GPU exceeds 300 GFLOP (or 1 ns per photon per time step). For a realistic problem, where the peak performance cannot be reached, GRay is two orders of magnitude faster than existing central-processing-unit-based ray-tracing codes. This performance enhancement allows more effective searches of large parameter spaces when comparing theoretical predictions of images, spectra, and light curves from the vicinities of compact objects to observations. GRay can also perform on-the-fly ray tracing within general relativistic magnetohydrodynamic algorithms that simulate accretion flows around compact objects. Making use of this algorithm, we calculate the properties of the shadows of Kerr black holes and the photon rings that surround them. We also provide accurate fitting formulae of their dependencies on black hole spin and observer inclination, which can be used to interpret upcoming observations of the black holes at the center of the Milky Way, as well as M87, with the Event Horizon Telescope.
引用
收藏
页数:9
相关论文
共 45 条
  • [1] [Anonymous], 2016, Programming massively parallel processors: a hands-on approach
  • [2] [Anonymous], 2011, CUDA by Example: An Introduction to General-Purpose GPU Programming
  • [3] [Anonymous], ARXIV11025202
  • [4] Arzoumanian Z., 2009, ASTRON ASTROPHYS, V2010, P6
  • [5] A RAY-TRACING ALGORITHM FOR SPINNING COMPACT OBJECT SPACETIMES WITH ARBITRARY QUADRUPOLE MOMENTS. II. NEUTRON STARS
    Bauboeck, Michi
    Psaltis, Dimitrios
    Oezel, Feryal
    Johannsen, Tim
    [J]. ASTROPHYSICAL JOURNAL, 2012, 753 (02)
  • [6] Extreme gravitational lensing near rotating black holes
    Beckwith, K
    Done, C
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2005, 359 (04) : 1217 - 1228
  • [7] Constraints on neutron star properties from X-ray observations of millisecond pulsars
    Bogdanov, Slavko
    Rybicki, George B.
    Grindlay, Jonathan E.
    [J]. ASTROPHYSICAL JOURNAL, 2007, 670 (01) : 668 - 676
  • [8] RX J1856-3754: Evidence for a stiff equation of state
    Braje, TM
    Romani, RW
    [J]. ASTROPHYSICAL JOURNAL, 2002, 580 (02) : 1043 - 1047
  • [9] Constraining black hole spin via X-ray spectroscopy
    Brenneman, Laura W.
    Reynolds, Christopher S.
    [J]. ASTROPHYSICAL JOURNAL, 2006, 652 (02) : 1028 - 1043
  • [10] Radiative transfer along rays in curved space-times
    Broderick, AE
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2006, 366 (01) : L10 - L12