Accelerated ray-tracing simulations using McXtrace

Abstract

McXtrace is an established Monte Carlo based ray-tracing tool to simulate synchrotron beamlines and X-ray laboratory instruments. This work explains and demonstrates the new capability of GPU-accelerated McXtrace ray-tracing simulations. The openACC implementation is presented, followed by a demonstration of the achieved speed-up factor for several types of instruments across different types of hardware. The instruments achieve speed-up factors around 250600 dependent on the instrument complexity. Instruments requiring repeated memory access might require optimised memory access procedures to avoid severe penalties in the simulation time when using GPUs. The importance of reducing the simulations was demonstrated for an aviation security application by comparing the simulation time of a projection of an energy-dispersive X-ray computed tomography instrument.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…