Content

Using FLENS-LAPACK as CXXLAPACK Font-End

FLENS-LAPACK not only provides a generic implementation for a set of certain LAPACK functions. It also serves as a high-level interface for CXXLAPACK. In this respect it follows the ideas introduced on the previous pages.

Generic or External LAPACK: How to select?

Consider a LAPACK function like xGETRF. In FLENS-LAPACK we provide its functionality through the routine lapack::trf. Using macros you can control whether it calls a generic implementation or an external LAPACK implementation:

You can be even more selective. For each function call you can explicitly specify whether the generic or external function gets called: