Pyculib - Python bindings for CUDA libraries
NOTE: This project is no longer receiving updates, as we think that CuPy is provides a much more complete interface to standard GPU algorithms. CuPy arrays also work with Numba-compiled GPU kernels now. We encourage you to take a look at CuPy:
Pyculib provides Python bindings to the following CUDA libraries:
cuBLAS __cuFFT __cuSPARSE __cuRAND __CUB __ and Modern GPU __ libraries.These bindings are direct ports of those available in Anaconda Accelerate __.
Documentation is located
here __
The easiest way to install Pyculib and get updates is by using the
Anaconda Distribution __
::
#> conda install pyculibTo compile from source, it is recommended to create a conda environment containing the following:
for instructions on how to do this see the
conda __ documentation, specifically the
section on managing environments __.
Once a suitable environment is activated, installation achieved simply by running:
::
#> python setup.py installand the installation can be tested with:
::
#> ./runtests.pyDocumentation is located
here __.
Building Documentation
It is also possible to build a local copy of the documentation from
source. This requires GNU Make and sphinx (available via conda).
Documentation is stored in the ``doc`` folder, and should be built with:
::
#> make SPHINXOPTS=-Wn clean html
This ensures that the documentation renders without errors. If errors
occur, they can all be seen at once by building with:
::
#> make SPHINXOPTS=-n clean html
However, these errors should all be fixed so that building with ``-Wn``
is possible prior to merging any documentation changes or updates.No open issues yet, or sync has not completed.