Pyculib_sorting provides simplified interfaces to CUDA sorting libraries. At present it contains a wrapper around:
Pyculib_sorting is predominantly used by Pyculib to provide sorting routines.
Pyculib_sorting requires the following programs to build and test:
and the following Python packages
Obtaining the source code
Pyculib_sorting relies on git submodules to access the CUB and ModernGPU source code, to obtain a code base suitable for building the libraries run:
#> git clone https://github.com/numba/pyculib_sorting.git #> cd pyculib_sorting #> git submodule update --init
the URL above may be adjusted to use
email@example.com:numba/pyculib_sorting.git as desired.
Building the libraries
To build the libraries run:
#> python build_sorting_libs.py
Testing uses pytest and is simply invoked with:
To create a conda package of Pyculib_sorting, assuming conda-build is installed, run:
#> conda build condarecipe
from the root directory of Pyculib_sorting.