11.2. Usage - 5.2 English - 57404

AOCL User Guide (57404)

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

AOCL-LAPACK source package contains sample test cases which demonstrate the usage of AOCL-LAPACK APIs. An example program demonstrating the usage of AOCL-LAPACK is located at libflame/test/example. This directory contains an example source file showing the usage of AOCL-LAPACK library functions. Use the included CMake script to compile and execute the program. You can test it on both Linux and Windows.

A separate test suite is also included that tests different interfaces like Fortran LAPACK, LAPACKE and C++ templates. Currently, it contains tests for a critical set of AOCL-LAPACK APIs. Addition of test cases for other APIs is an ongoing activity. The test suite validates functionality of APIs and displays performance numbers. For more information on this test suite, refer to the ReadMe.txt file in test/main directory.

Note: To integrate AOCL-LAPACK into an application, ensure you link against AOCL-LAPACK, AOCL-BLAS, and AOCL-Utils libraries during the build process. Since AOCL-Utils library depends on libstdc++ library, and AOCL-LAPACK relies on AOCL-Utils, your application must also link against libstdc++ (using the -lstdc++ flag).