27 lines
444 B
Markdown
27 lines
444 B
Markdown
# example 04
|
|
|
|
## Installing CLFFT
|
|
After cloning the repository, run the following (in the top-level of the directory):
|
|
|
|
```
|
|
git clone https://github.com/clMathLibraries/clFFT.git
|
|
cd clFFT
|
|
mkdir build
|
|
cd build
|
|
cmake ../src
|
|
make
|
|
sudo make install
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64
|
|
```
|
|
|
|
## Running it
|
|
In the top-level directory, run
|
|
|
|
```
|
|
make ex04
|
|
./example04/bin/Example
|
|
```
|
|
|
|
and it should print out a vector! :hamburger:
|
|
|