MathDx is a NVIDIA device library for accelerated math operations on GPUs, providing high-performance implementations for common mathematical functions. Version 25.6.0 is the latest. This package is part of the NVIDIA CUDA ecosystem and is updated frequently with new GPU architectures.
pip install nvidia-mathdxVerified import paths — ran on the pinned version, not inferred.
Basic usage showing import pattern and calling an elementwise math function on a CuPy array.
Update imports to use subpackages: e.g., `from nvidia_mathdx.fft import fft`.
Use `cp.cuda.Stream.null.synchronize()` before reading results back to host, or use CuPy's default synchronization.
Replace calls to `mathdx.matrix_inverse` with `mathdx.linalg.inv`.