Multi-Thread AOCL - Multi-Thread AOCL - 5.3 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2026-05-13
Version
5.3 English

Complete the following steps to install a multi-thread AOCL:

  1. Configure the library as required:

    # CMake commands
    
    # GCC (Default) and LP64
    $ cmake --preset aocl-linux-make-lp-ga-gcc-config --fresh
    
    # GCC and ILP64
    $ cmake --preset aocl-linux-make-ilp-ga-gcc-config --fresh
    
    # AOCC and LP64
    $ cmake --preset aocl-linux-make-lp-ga-aocc-config --fresh
    
    # AOCC and ILP64
    $ cmake --preset aocl-linux-make-ilp-ga-aocc-config --fresh
    
    # GCC (Default) and LP64 with Desired OpenMP library Path
    $ cmake --preset aocl-linux-make-lp-ga-gcc-config --fresh -DOpenMP_libomp_LIBRARY=<path to OpenMP library>
    
  2. Build the unified binary and install using the command:

    $ cmake --build build --config Release -j --target install