Run this Design on the CPU - 2023.1 English

Vitis Tutorials: Hardware Acceleration (XD099)

Document ID
Release Date
2023.1 English

Open a terminal and navigate to the ./docs/cpu_src directory.

Run the following command to compile the design:

g++ cpu_cholesky.cpp test.cpp matrixUtility.hpp -std=c++0x -O3 -o test
./test -M 512 -N 512 -seed 12

Run with different sizes of matrices small and large (maximum size is 2048x2048) to gauge the impact on the execution time. Study the code to check how it implements the Cholesky algorithm.

NOTE 1: If your server has limited stack size, this program might issue a segmentation fault at values smaller than 2048x2048.