Multi-Threaded AOCL-BLAS - 5.2 English - 57404

AOCL User Guide (57404)

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

Complete the following steps to install a multi-threaded AOCL-BLAS:

  1. Clone the AOCL-BLAS Git repository (amd/blis.git).

  2. Configure the library as required:

    # CMake commands
    
    # GCC (Default)
    $ cmake . -DENABLE_CBLAS=ON -DCMAKE_INSTALL_PREFIX=<your-install-dir> \
      -DENABLE_THREADING=[Mode] -DBLIS_CONFIG_FAMILY=auto
    
    # AOCC
    $ cmake . -DENABLE_CBLAS=ON -DCMAKE_INSTALL_PREFIX=<your-install-dir> \
      -DCOMPLEX_RETURN=intel CC=clang CXX=clang++ \
      -DENABLE_THREADING=[Mode] -DBLIS_CONFIG_FAMILY=auto
    
    # Alternatively, using configure
    
    # GCC (Default)
    $ ./configure --enable-cblas --prefix=<your-install-dir> \
      --enable-threading=[Mode] auto
    
    # AOCC
    $ ./configure --enable-cblas --prefix=<your-install-dir> \
      --enable-threading=[Mode] \
      --complex-return=intel CC=clang CXX=clang++ auto
    

    Mode indicates one of the options in {openmp, no}. no option implies disable multi-threading.

  3. To build the library, use the command:

    $ make
    
  4. To install the library on build machine, use the command:

    $ make install