Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.61 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.61 KB

PyPI version Build Status

CUDA functions

This is a collection of python functions written with CUDA, using cuFFT and cuBLAS libraries. The interface with Python is written using the Python C API.

These functions intend to mimic the behavior of numpy functions: fft and correlate using the power of GPU.

Included functions

  1. Fast Fourier transform 1D (Complex-to-complex)
  • cuda_fft (single/double precision Fourier transfom)
  • cuda_ifft (single/double precision inverse Fourier transfom)
  1. Autocorrelation functions (Real-to-real and complex-to-complex)
  • cuda_acorrelate (single/double precision autocorrelation function)

Installation

  1. Requirements
  1. Run setup.py script to compile only (testing)
    python setup.py build_ext --inplace

  2. To install the module on your system use distutils setup.py as usual:
    python setup.py install --user

  3. Now module is available on PyPI
    pip install cuda_functions

  4. Run and check included python scripts as example

Contact info

Abel Carreras
[email protected]

Donostia International Physics Center (DIPC)
Donostia-San Sebastian (Spain)