How CUDA Graph is used in BlackholePerturbations
Published:
The CUDA Graph support in hypermania/BlackholePerturbations is centered on the class CudaTeukolskyScalarPDE in src/teukolsky_cubic_cuda.cu and src/teukolsky_cubic_cuda.cuh. It was introduced in commit 8a86f7c (“Successfully tested CudaTeukolskyScalarPDE, implemented with CUDA graph”). The point of the implementation is not to change the Teukolsky evolution equations themselves, but to reduce the CPU-side overhead of repeatedly launching the same GPU work pattern during time integration.