4.7.8. Enabling aocl_gemm Add-on - 5.2 English - 57404

AOCL User Guide (57404)

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

Enabling aocl_gemm add-on while building AOCL-BLAS from Source on Linux:

  • Building with GCC:

$ ./configure -a aocl_gemm --enable-cblas --enable-threading=openmp \
  --prefix=<your-install-dir> CC=gcc CXX=g++ [auto \| amdzen]
  • Building with AOCC:

$ ./configure -a aocl_gemm --enable-cblas --enable-threading=openmp \
  --prefix=<your-install-dir> CC=clang CXX=clang++ [auto \| amdzen]
  • The aocl_gemm add-on feature is supported on Windows with clang version 18.0 and above. To enable, please add -DENABLE_ADDON=”aocl_gemm” to cmake command line as mentioned in Build AOCL-BLAS from Source on Windows

  • Refer to blis.h file for all the prototypes of LPGEMM APIs.

  • Some LPGEMM APIs are supported only when the architecture features, such as avx512vnni and avx512bf16 are available in the machine as mentioned in API Variants and required Architecture Features. The APIs returns without doing anything when those features are not available.

  • Column major inputs/output with reordered B matrix is not supported.