CUSL is an experimental CUDA port of selected GNU Scientific Library (GSL) routines. It is a small, header-oriented project focused on CUDA device code, not a complete GSL replacement.
Full documentation is available at:
Run from tests/:
sh bessel.sh
sh ran_dir_3d.shThese scripts compile and run small comparison programs against GSL and CUDA reference implementations.
The documentation covers:
- available routines and GSL-to-CUSL mapping
- dependencies and build commands
- validation scripts and known test gaps
- porting notes for future routines
To preview the documentation locally:
python -m pip install -r requirements-docs.txt
mkdocs servesrc/contains CUDA headers for selected Bessel, Gamma, Psi, polynomial, Chebyshev, chi-square, and random-direction routines.tests/contains standalone validation programs and scripts.- GSL-style result/status error handling is not fully implemented.