Building the Matrix Multiply sample application

CodeXL

PreviousNext
CodeXL User Guide
Help > Bundled Sample Applications > Matrix Multiply > Building the Matrix Multiply sample application
Building the Matrix Multiply sample application

CodeXL includes a pre-built binary of the Matrix Multiply application. Follow the steps below if you wish to build it yourself.

On Windows

Follow these steps to build Matrix Multiply on Windows from the default install location:

·         Launch Visual Studio with administrator privileges.

·         From the CodeXL menu, select the ‘Open Matrix Multiply Sample Project’ command.

·         Wait for the project to open and press F7.

On Linux

Follow these steps to build Matrix Multiply on Linux:

·         Navigate to codexl_folder_path/examples/ClassicMatMul/src

o   codexl_folder_path is the folder in which you installed or unzipped CodeXL

·         Type ‘make’ and hit Enter.

Note that CodeXL RPM and Debian packages install CodeXL and is bundled sample applications under the /opt folder, which requires elevated privileges to write to on some Linux distributions.