GithubHelp home page GithubHelp logo

dantali0n / oclfft Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 23.66 MB

OpenCL Fast Fourier Transform using cooley-tukey in-place bit-reversal algorithm with lookup tables.

License: GNU General Public License v3.0

CMake 11.98% TeX 28.21% C 4.92% C++ 34.18% Shell 3.14% Python 17.58%
fft opencl amdgpu cooley-tukey-fft bit-reversal in-place lookup-table

oclfft's Introduction

oCLFFT

openCL Fast Fourier Transform

Project for University of Amsterdam (UvA) performance engineering course, boilerplate CMake files are from a previous project

Directory structure

  • cmake - small cmake snippets to enable various features
  • csv - converted wavefiles that can be used by applications
  • final - LaTeX final presentation given at the end of the course
  • lib - support library with functions and definitions
  • measurements - performance evaluation scripts as well as measured values
  • midterm - LaTeX files for the presentation at the first half of the course
  • playground - small toy examples or other experiments
  • python - python scripts to aid in visualization or measurements
  • proposal - LaTeX source for project proposal
  • report - LaTeX source for project report
  • src - project source files
  • tests - unit tests and possibly integration tests
  • wav - Original wavefile formats used as input data

Implementations

Executable Hardware Target Base Algorithm Properties
ard-seq CPU Single Thread Cooley-Tukey Bit-reversal in-place radix-2
dft-seq CPU Single Thread DFT
ard-omp CPU OpenMP Cooley-Tukey Bit-reversal in-place radix-2
ard-ocl GPU Cooley-Tukey Slow bit-reversal, fft lookup
bit-ocl GPU Cooley-Tukey 2D bit-reversal, fft lookup
flk-ocl GPU Cooley-Tukey 2D bit-reversal, fast lookup

Dependencies

  • cmake 3.0 or higher
  • cmake 3.9 or higher (ard-omp)
  • doxygen (documentation)
  • boost 1.32 or higher
  • boost 1.53 or higher (unit tests)
  • python 3.x (python)
  • virtualenv (python)

Setup

Python environment:

virtualenv -p python3 python/e
cd python
source bin/activate
pip install -r requirements.txt

Generating lookup tables:

mkdir build
cd build
cmake ..
make play-lookup
./playground/play-lookup > ../oclfft/ard-ocl/src/lookup.cl
./playground/play-lookup > ../oclfft/bit-ocl/src/lookup.cl
./playground/play-lookup > ../oclfft/flk-ocl/src/lookup.cl

Licensing

All project files are licensed under GPLv3 unless otherwise stated by the header of the source files. Most files will be authored under Corne Lukken but some source files are from third-party sources, please check the license headers to verify the author and license.

A few examples of files licensed under different authors:

  • Beamer templates by Jerome Belleman.
  • ard-seq implementation by Didier Longueville & Enrique Condes.

References

Snippets

../cmake-build-debug/oclfft/bit-ocl/bit-ocl -f ../csv/ads-b.csv -s 262144  -o real | python evaluate-error.py
 /opt/rocm/bin/rocprof --obj-tracking on --hsa-trace binary

oclfft's People

Watchers

 avatar  avatar

Forkers

mfkiwl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.