CUDA provides an interface for directing suitable computations to an NVIDIA GPU. GPUs perform many identical vector or matrix operations in parallel, making them useful for some scaling tasks. section 7.2.2
CUDA acceleration works best when:
- The computation operates on sufficiently large data or performs intensive repeated operations. section 7.2.2
- The data and functions use compatible GPU operations rather than relying on NumPy-only behavior. section 7.2.2
GPU-accelerated bootstrapping
Install CuPy, replace NumPy operations with CuPy equivalents, generate bootstrap samples on the GPU, calculate percentiles there, and convert the interval bounds back to NumPy values.



