Establishing a Performance Baseline

To set a performance baseline for the improvements that follow in this tutorial, compile your sources with these compiler options:

icc -O1 -std=c99 -DNOFUNCCALL Multiply.c Driver.c -o MatVector

Execute MatVector and record the execution time reported in the output. This is the baseline against which subsequent improvements will be measured.

This example uses a variable length array (VLA), and therefore, must be compiled with the -std=c99 option.

Previous: Introduction to Auto-vectorization Next: Generating a Vectorization Report


Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.