GithubHelp home page GithubHelp logo

petermclbl / fftx-demo-extern-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spiral-software/fftx-demo-extern-app

0.0 0.0 0.0 95 KB

Demo application to show how to link against FFTX libraries

C++ 60.73% Cuda 27.61% CMake 8.77% Makefile 2.88%

fftx-demo-extern-app's Introduction

Demo FFTX External Application

This is the public repository for the Demo FFTX External Application

Building Demo FFTX External Application

This demo application provides examples of how to call FFTX libraries and how to use the APIs to call and link to the libraries. To use and build the demo applications you must have previously installed FFTX and spiral-software. Ensure your environment sets FFTX_HOME and SPIRAL_HOME to point to the locations of FFTX and Spiral.

NOTE: spiral-software is only needed because some of the examples include files distributed with Spiral. Applications that don't include such files will not [necessarily] require a spiral-software installation.

Installing Pre-requisites

Clone spiral-software to a location on your computer. E.g., do:

cd ~/work
git clone https://www.github.com/spiral-software/spiral-software

This location is known as SPIRAL HOME and you must set an environment variable SPIRAL_HOME to point to this location later.

If you plan to generate source code from Spiral scripts (e.g., building FFTX requires this; however, many application users will not), then you must also install two spiral packages, do the following:

cd ~/work/spiral-software/namespaces/packages
git clone https://www.github.com/spiral-software/spiral-package-fftx fftx
git clone https://www.github.com/spiral-software/spiral-package-simt simt

NOTE: The spiral packages must be installed under the directory $SPIRAL_HOME/namespaces/packages and must be placed in folders with the prefix spiral-package removed.

Follow the build instructions for spiral-software (see the README here ).

Installing FFTX

Clone FFTX to a location on your computer. E.g., do:

cd ~/work
git clone https://www.github.com/spiral-software/fftx

Follow the build instructions for FFTX (see the README here ).

Install and Build the Demo Application

Ensure you have valid settings for FFTX_HOME and SPIRAL_HOME. Clone the demo application. E.g., do:

cd ~/work
git clone https://www.github.com/spiral-software/fftx-demo-extern-app
cd fftx-demo-extern-app
mkdir build
cd build
cmake ..
make install

The demo application is installed at ~/work/fftx-demo-extern-app/build/bin

Linking Applications With FFTX

This application has a few small simple applications that link with the FFTX libraries. Please review the API calls used in the examples for information on how to call the transforms within the libraries. Also, review the CMakeLists.txt for information on how to get the various include file and linker library paths and library names associated to a target.

fftx-demo-extern-app's People

Contributors

broderickpt avatar petermclbl avatar sr7cb avatar

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.