JGU-HPC / pyCUREVERSE

boilerplate project for binding CUDA to Numpy using Swig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyCUREVERSE

is a boilerplate project to document CUDA-bindings for Numpy using Swig. pyCUREVERSE does not claim

  • to have any application in real world scenarios
  • to be an efficient reversal algorithm of arrays on CUDA-enabled devices

Nevertheless, you can use pyCUDAREVERSE

  • to bind any CUDA-kernel to numpy arrays (fuck yeah CUFFT, CUBLAS, ...)
  • to have fun with GPUs
  • to visualize the stuff (matplotlib, mayavi) you have calculate with CUDA

Please note, there is pycuda. pyCUREVERSE aims to provide bindings on the lowest level possible.

Usage

git clone https://github.com/gravitino/pyCUREVERSE.git

cd pyCUREVERSE

vim Makefile (make sure the paths to CUDA are OK)

make rename NEWLIBNAME="myAwesomeLib"

make

python example.py

Have fun.

About

boilerplate project for binding CUDA to Numpy using Swig

License:Other


Languages

Language:C 97.3%Language:Cuda 1.4%Language:Makefile 1.0%Language:Python 0.3%