~/talk

Using Numba for GPU acceleration of Neutron Beamline Digital Twins

Talkat SciPy 2023 · 2023-07-10..07-16· [python]
links:none on file
slides:none on file

A pure‑Python reimplementation called mcvind.ecc uses Numba to generate CUDA kernels at runtime and runs MCViNE Monte Carlo neutron ray tracing on GPUs, with CI to validate GPU output matches CPU simulations. Simple source+guide+monitor kernels hit ~1700×, homogeneous single‑scatter ~133×, a uranium‑nitride single‑scatter case ~33× and realistic multiple scattering about 10x for multiple scattering, enabling days‑to‑hours turnaround. Uses XML parsers for geometry and scattering, supports float64 signatures, and is being integrated with multi‑GPU and cluster plans.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:27Motivation for GPU acceleration
  3. 3:51Current challenges in McVine
  4. 5:39Introducing mcvind.ecc package
  5. 7:03Instrument simulation workflow
  6. 9:31GPU kernel generation at runtime
  7. 13:06Sample geometry and ray tracing
  8. 14:31Scattering physics implementation
  9. 15:37Validation against CPU results
  10. 17:23Performance benchmarks and results
  11. 20:16Advantages of Numba for this project
  12. 21:18Summary and future plans
  13. 22:43Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.