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.
Copyright © 2010, Intel Corporation. All rights reserved.