Single-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 single-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> \
      -DBLIS_CONFIG_FAMILY=auto
    
    # AOCC
    $ cmake . -DENABLE_CBLAS=ON -DCMAKE_INSTALL_PREFIX=<your-install-dir> \
      -DCOMPLEX_RETURN=intel CC=clang CXX=clang++ -DBLIS_CONFIG_FAMILY=auto
    
    # Alternatively, using configure
    
    # GCC (Default)
    $ ./configure --enable-cblas --prefix=<your-install-dir> auto
    
    # AOCC
    $ ./configure --enable-cblas --prefix=<your-install-dir> \
      --complex-return=intel CC=clang CXX=clang++ auto
    
  3. To build the library, use the command:

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

    $ make install