~/talk

Injecting Python Functions into a Template-Driven CUDA C++ Framework

Talkat SciPy 2024 · 2024-07-08..07-14· [python, software-architecture]
links:none on file
slides:none on file

Integrates MCDC Python Monte Carlo code with a template CUDA C++ runtime called Harmonize, producing device PTX, object files with relocatable device code, and a shared library that Numba can load and call; automation generates FFI handles and wrappers so Python functions become GPU-callable. Highlights include FFI sandwich layering, manual demangling of Numba PTX names, and pitfalls like object mode copying of large global structs and strict Numba type/alignment rules; the system works but requires careful type and build automation, which is provided.

AI-written summary · about

  1. 0:00Introduction to the talk
  2. 0:26Background on Monte Carlo neutron transport
  3. 3:15Challenges of GPU programming for domain experts
  4. 5:00Introducing Harmonize framework
  5. 8:13FFI sandwich architecture details
  6. 10:03Python to CUDA injection process
  7. 14:38Compiling and linking the runtime
  8. 17:27Benefits of the automated glue
  9. 18:10Pitfalls and limitations
  10. 22:22References and acknowledgments
  11. 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.