Skip to content

abelcarreras/cuda_functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
abelcarreras83@gmail.com

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

About

Python functions to calculate the FFT and autocorrelation function using GPU (Cuda)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published