nvidia-mathdx
MathDx Device libraries
What it is and what it does
NVIDIA MathDx is a device-side library providing mathematical API extensions for CUDA kernels. It allows developers to fuse numerical operations directly within GPU kernel code, reducing latency and improving performance by avoiding intermediate data transfers. The library targets scientific computing, machine learning, and high-performance computing workloads where kernel-level mathematical optimization matters.
The package is distributed as a pure Python wheel but is fundamentally a CUDA development tool—it provides headers and APIs for C++ kernel development rather than Python-level functionality. It requires an NVIDIA GPU and CUDA 12 environment. The library is in beta status and has not been updated in several months, suggesting either stable maturity or reduced active development.
Use it for:
- Optimize FFT and mathematical operations within CUDA kernels for signal processing applications
- Reduce latency in machine learning inference by fusing numerical computations at the device level
- Develop high-performance scientific computing kernels that require custom mathematical operations on GPU
- Implement JIT and LTO callbacks for runtime kernel optimization in CUDA applications
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Device-side API extensions for performing mathematical calculations inside CUDA kernels, enabling fused numerical operations to reduce latency and improve application performance.
Yes, if you are developing CUDA kernels for scientific or machine learning workloads and need device-side mathematical optimization. The proprietary license and beta status require careful review of distribution terms if you plan to ship applications using it. The aging maintenance status (274 days since last release) suggests stability but also infrequent updates—verify that CUDA 12 compatibility meets your deployment targets before committing.
Install
nvidia-mathdx on PyPI
pip
pip install nvidia-mathdxuv
uv add nvidia-mathdxpoetry
poetry add nvidia-mathdxInstalling nvidia-mathdx
Before you install
Low install friction with a pure Python wheel distribution. Maintenance status is aging—last release was 274 days ago—so updates may be infrequent.
License in practice
Proprietary NVIDIA license with unclear treatment. The license restricts reverse engineering, sublicensing, and use in critical applications (aviation, medical, autonomous vehicles); distribution of applications using the SDK requires material additional functionality and compliance with NVIDIA's terms.
Quickstart
pip install nvidia-mathdx==25.6.0
import nvidia_mathdx
# Use device-side APIs within CUDA kernel code
Requires NVIDIA CUDA 12 environment and NVIDIA GPU hardware; this is a device-side library for kernel development, not a standalone Python package.
Verify before relying
- Exact Python version compatibility (requires_python is unspecified in metadata)
- Whether this package can be used standalone or requires separate CUDA toolkit installation
- Runtime dependencies beyond the wheel itself (metadata lists zero runtime deps)
- Current maintenance status and whether development is active or in maintenance mode
Package facts
| License | LICENSE AGREEMENT FOR NVIDIA MATH LIBRARIES SOFTWARE DEVELOPMENT KITS This license agreement("Agreement”) is a legal agreement between you and NVIDIA Corporation ("NVIDIA") and governs your use of… (full text in the JSON record) (unclear) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | aging — 274 days since the last release |
| First released | |
| Downloads | 526,946/month — #6,173 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nvidia_mathdx-25.6.0-py3-none-any.whl
Keywords: cuda, nvidia, runtime, JIT LTO, fft, LTO Callbacks
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
nvidia-cusolver-cu11Provides NVIDIA CUDA solver native runtime…
unclear · top 5,000 on PyPI
nvidia-cusparse-cu12Provides NVIDIA CUSPARSE native runtime…
unclear · top 1,000 on PyPI
nvidia-cufft-cu11Provides NVIDIA CUFFT native runtime libraries…
unclear · top 5,000 on PyPI
nvidia-cufftProvides NVIDIA CUFFT native runtime libraries…
unclear · top 1,000 on PyPI
nvidia-cublas-cu12Provides NVIDIA CUBLAS native runtime libraries…
unclear · top 1,000 on PyPI
quadrantsQuadrants is a high-performance compiler that…
permissive · top 15,000 on PyPI
nvidia-cufft-cu12Provides NVIDIA CUFFT native runtime libraries…
unclear · top 1,000 on PyPI
cpm-kernelsProvides CUDA kernels optimized for CPM,…
permissive · top 15,000 on PyPI
nvidia-cusolver-cu12Provides CUDA solver native runtime libraries…
unclear · top 1,000 on PyPI
audmathaudmath provides mathematical functions…
permissive · top 15,000 on PyPI