abelcarreras / cuda_functions Goto Github PK
View Code? Open in Web Editor NEWPython functions to calculate the FFT and autocorrelation function using GPU (Cuda)
License: MIT License
Python functions to calculate the FFT and autocorrelation function using GPU (Cuda)
License: MIT License
Use cuFFT (complex -> real) function to calculate the Fourier transform of the autocorrelation function (power spectrum). The autocorrelation is a Hermitian function and therefore its Fourier transform is guaranteed to be real.
A small increase in efficiency is expected.
when i tried this ' pip install cuda_functions' in my gpu
got error
/usr/local/cuda-9.0/bin/nvcc -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/cuda-9.0/include -I/usr/include/python2.7 -c src/cuFFT.cu -o build/temp.linux-aarch64-2.7/src/cuFFT.o -arch=sm_20 -Ddoubleprecisioncomplex=gpu_fft_dpc --ptxas-options=-v -c --compiler-options '-fPIC'
nvcc fatal : Value 'sm_20' is not defined for option 'gpu-architecture'
error: command '/usr/local/cuda-9.0/bin/nvcc' failed with exit status 1
Hi @abelcarreras !
Thanks for sharing!
I was wondering if i can use these functions for 2-D images ?
if so could you give me an example .
thanks
Mehul
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.