AOCL-FFTZ provides example files in the examples/ directory to demonstrate the usage of the library.
To build these examples, follow the detailed steps provided in the API Guide.
To run the executable, if its linked with dynamic linking, ensure that the system can locate the AOCL-FFTZ shared library by setting the appropriate environment variable.
On Linux: LD_LIBRARY_PATH environment variable can be used to set directories
where the dynamic linker should search for libraries before looking in the default system locations
export LD_LIBRARY_PATH="<path to aocl-fftz lib>":$LD_LIBRARY_PATH
On Windows: PATH environment variable is used by the OS to search for shared libraries (DLLs) required by the application.
set PATH="<path to aocl-fftz lib>";%PATH%