Complete the following steps to install a multi-thread AOCL:
Clone the AOCL from Git repository (amd/aocl.git).
$ git clone https://github.com/amd/aocl.git $ cd aocl
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>
Build the unified binary and install using the command:
$ cmake --build build --config Release -j --target install