pysrx.gpu¶
CuPy when a CUDA GPU is present, NumPy/SciPy otherwise. One module-level device cache shared by registration
(LF4D-Comparison) and the metrics, so gpu.clear() frees both.
pysrx.gpu
¶
CuPy if a CUDA GPU is available, else NumPy/SciPy. Small API used by register/metrics.