GPU acceleration#
Planned Outline of a future page.
This page will cover
Installing CuPy for your CUDA version, and how the solver detects it (
harmolab/utils/impedance/compute_backend.py).The
use_gpuargument:None(automatic, GPU only aboveDEFAULT_GPU_EDGE_THRESHOLD = 100edges),True,False.The memory check before a GPU assembly, and why a CUDA failure during a run raises an explicit error instead of silently falling back to the CPU.
Expected speed-ups, measured on the development machine.