Skip to content

carsonswope/py-nvcomp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python bindings for nvCOMP

To create the bindings:

  • Build nvCOMP.
  • Modify setup.py to point to your generated nvcomp include & lib directories. Also modify to point to your corresponding CUDA SDK directories as well. This is currently only tested on Windows, but should work the same on Linux.
  • (on windows) make sure you are in MSVC command prompt context. You should be able to type cl into the command line and see the MSVC compiler. This hasn't been tested with MinGW or cygwin.
  • Run: python setup.py build_ext --inplace. This will generate a .pyd file that you can copy into site-packages.

For example usages / unit tests using PyCUDA, look in examples directory.

Implemented bindings

  • LZ4Compressor / LZ4Decompressor
  • CascadedCompressor / CascadedDecompressor
  • C-API ('low-level') access to LZ4 compression/decompression functions

About

Python bindings for nvCOMP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published