• Skip to primary navigation
  • Skip to main content
  • About Us
  • NSUF
  • Equipment
  • Capabilities
  • AMCSET
  • People
    • Who Are We?
    • Our Alumni
    • Lin Shao
    • Frank Garner
  • News
  • Contact Us

TAMU Accelerator Laboratory

Texas A&M University College of Engineering

AMCSET GPUs and statistics

  • Home
  • Download
  • Getting started
  • Features
  • Validation
  • GPUs and statistics
  • About

GPUs

SRIM mode can run its histories on a GPU through HIP (AMD), CUDA (NVIDIA), OpenCL or Kokkos, from either program. HIP and OpenCL have been run on an AMD Radeon RX 7900 XTX; the CUDA backend has not yet been run on NVIDIA hardware. GPU results agree with the CPU’s within the statistics.

On that card, 200,000 full cascades of 50 keV Fe in Fe took 6.0 s against 26.0 s on 16 CPU threads (HIP, mixed precision). Runs below about 100,000 ions are usually faster on the CPU.

Bar charts of wall time for seven cases on CPU, OpenCL and HIP; the GPU is faster for large runs of light work and slower for several small or heavy-ion cases
Wall time per case on a Ryzen 7 7800X3D and an RX 7900 XTX. The GPU was shared with other work, so these are indications, not a benchmark. Some cases are slower on the GPU.

GPU documentation

How precise is a result?

AMCSET can report the standard error of every result and stop a run as soon as the quantities you watch are precise enough. TRIM reports no errors. All of this is optional.

amcset run fe.json -n 1000000 --converge 1%
amcset run fe.json --converge 1% --variance-reduction auto
Two log-log plots of relative standard error falling with the number of ions, close to one over the square root of N
Errors fall as one over the square root of the number of ions.

Optional variance reduction (antithetic pairs, stratified first draws, splitting) helps particular cases, such as slow heavy ions or transmission; none is on by default. Statistics documentation

© 2016–2026 TAMU Accelerator Laboratory Log in

Texas A&M Engineering Experiment Station Logo
  • College of Engineering
  • Facebook
  • Twitter