A GPU runs thousands of calculations at once. Problems that divide into many similar pieces, such as simulation paths, scenario grids, resampling and large matrix operations, can be processed in parallel rather than one step at a time.
Explore the hardware and software foundations
CUDA is NVIDIA’s parallel computing platform and programming model: work is written as kernels that execute across many GPU threads. The CUDA Toolkit provides the compiler, runtime and core libraries; Nsight Systems and Nsight Compute profile performance and are also available as standalone tools. CUDA-X is the wider set of GPU-accelerated libraries and frameworks built on CUDA, including cuBLAS (linear algebra), cuFFT, cuSOLVER, cuRAND (random number generation), RAPIDS cuDF and cuML (data processing and machine learning) and NCCL (multi-GPU communication).
Speed-up depends on the workload. GPUs suit problems with abundant parallel work, such as many independent simulation paths, dense matrix operations or batches of models; small or strictly sequential calculations may run as well on a CPU. Arithmetic intensity, the ratio of operations to bytes moved, indicates whether a kernel is compute- or memory-bound, and batching small problems helps keep the GPU occupied.
Hardware performance depends on both compute throughput and data movement. High-bandwidth memory (HBM) feeds memory-bound work, and host–GPU transfers should be minimised and overlapped with computation. NVLink connects GPUs within a server and, in rack-scale systems, across a rack; InfiniBand or Ethernet with RDMA link systems beyond that, with libraries such as NCCL handling collective communication. Storage and data preparation can become the bottleneck before compute does.
Precision follows the error budget. FP64, FP32 and reduced- or mixed-precision modes, including TF32 Tensor Core maths for supported matrix operations, trade speed against accuracy and need validating for each analysis. Parallel reductions can sum in a different order, which changes rounding; a different random-number stream changes the simulated paths themselves. Fixed seeds alone do not guarantee identical output across hardware or library versions, so results should be checked against a reference within stated tolerances.
In practice, performance depends on the shape of the problem: how much data there is, which algorithms are used, the precision required and how often data has to move. Acceleration should be shown by end-to-end benchmarks against a well-optimised CPU baseline. The skill lies in matching each analysis to the setup that runs it fastest without compromising accuracy.
References: CUDA Programming Guide; CUDA-X; NVLink.