Solver Library Functions
The AMD Vitis™ Solver library (SolverLib) is a configurable open-source library of linear-algebra elements for developing applications on AMD Versal™ AI Engines. The entry point for each function is an L2 graph. Each entry-point graph class contains one or more L1 kernels and can include one or more graph objects. Direct use of L1 kernel classes or any graph class not identified as an entry point is not recommended, as this might bypass legality checking.
The SolverLib consists of the following solver elements:
vecSampleNum
The number of samples per vector is given by:
Consider an example where the data type is float (4 bytes). On AIE1 devices, the vector size is 32 bytes; thus, vecSampleNum is 32 / 4 = 8. On AIE-ML and AIE-MLv2 devices, the vector size is 64 bytes; thus, vecSampleNum is 64 / 4 = 16.