Search code examples
pythoncudanvidiapycudanpp

PyCUDA NPP Library Compatibility


I've been trying to access the Nvidia Performance Primitives library through Python, and I found a very useful tutorial last updated in 2011 at this site: http://openvidia.sourceforge.net/index.php/OpenVIDIA/python

However, after downloading the CUDA 6.0 toolkit I can't seem to find any CUDA ".dll" files at all (like those referenced near the start of the tutorial). Thanks to responses on here, I know the file names should be different to those in the tutorial, but I can't find any.

Does anybody know an alternative method or command to import the library? Any help would be greatly appreciated, and if I've missed any key details then please let me know.

Board: Jetson TK1 OS: L4T Ubuntu 14.04 (from https://developer.nvidia.com/jetson-tk1-support) Language: Python 2.7


Solution

  • I just used the cdll.LoadLibrary() command from the ctypes library and called the "libnppi.so" and "libcudart.so" files. Worked perfectly, thanks for the help!