Direct Integration using AOCL-FFTZ APIs - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

If building the application from source, you can modify your application to invoke AOCL-FFTZ APIs to directly invoke aocl_fftz library without the help of fftw_wrapper.

Follow these steps to integrate AOCL-FFTZ into your application from source:

  1. Make the required changes in your application to invoke AOCL-FFTZ API. Refer to the examples in the API Guide or the installed package for details on how to invoke the AOCL-FFTZ APIs to perform FFT on complex and real data type.

  2. Make necessary changes in your build system to link your application to AOCL-FFTZ library.

  3. Build the application.

  4. If the library is linked via dynamic linking, before running the application, ensure that it is pointing to the correct AOCL-FFTZ library. If not, use these steps to ensure the right dependency:

    1. On Linux:

      export LD_LIBRARY_PATH="<path to aocl-fftz lib>":$LD_LIBRARY_PATH
      
    2. On Windows:

      set PATH="<path to aocl-fftz lib>";%PATH%
      
  5. Run the application.