Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abelcarreras/cuda_functions
Python functions to calculate the FFT and autocorrelation function using GPU (Cuda)
https://github.com/abelcarreras/cuda_functions
autocorrelation-functions complex cuda cuda-functions fft gpu power-spectrum pypi python-api
Last synced: 3 months ago
JSON representation
Python functions to calculate the FFT and autocorrelation function using GPU (Cuda)
- Host: GitHub
- URL: https://github.com/abelcarreras/cuda_functions
- Owner: abelcarreras
- License: mit
- Created: 2016-12-06T06:06:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T12:05:55.000Z (over 5 years ago)
- Last Synced: 2024-10-03T12:11:43.135Z (4 months ago)
- Topics: autocorrelation-functions, complex, cuda, cuda-functions, fft, gpu, power-spectrum, pypi, python-api
- Language: Cuda
- Homepage:
- Size: 45.9 KB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![PyPI version](https://badge.fury.io/py/cuda_functions.svg)](https://pypi.python.org/pypi/cuda_functions)
[![Build Status](https://travis-ci.org/abelcarreras/cuda_functions.svg?branch=development)](https://travis-ci.org/abelcarreras/cuda_functions)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)2. Autocorrelation functions (Real-to-real and complex-to-complex)
- cuda_acorrelate (single/double precision autocorrelation function)Installation
---------------------------------------------------------1. Requirements
- Python 2.7/3.4 or higher
- numpy
- cuda toolkit (http://docs.nvidia.com/cuda/)
2. Run setup.py script to compile only (testing)
python setup.py build_ext --inplace3. To install the module on your system use
distutils setup.py as usual:
python setup.py install --user4. Now module is available on PyPI
pip install cuda_functions
5. Run and check included python scripts as exampleContact info
---------------------------------------------------------Abel Carreras
[email protected]Donostia International Physics Center (DIPC)
Donostia-San Sebastian (Spain)