[patch] Benchmarks update

Don McCoy don at codesourcery.com
Sat Jun 17 00:55:59 UTC 2006


The attached patch fixes one bug (in firbank.cpp) and cleans up the 
makefiles used to build the benchmarks. 

Now, when building from source, type these commands from the object dir 
to build benchmarks:

    make benchmarks      <-- to build the all normal benchmarks
    make hpec_kernel      <-- to build the HPEC Kernel-Level benchmarks.

Building against a binary distribution of the library is very similar, 
except that it is run from within the 'benchmarks/' directory and it 
uses the make.standalone makefile.  As such, use these commands:

    cd benchmarks/
    make -f make.standalone PREFIX=/path/to/vsipl++ benchmarks
    make -f make.standalone PREFIX=/path/to/vsipl++ hpec_kernel

Several of the benchmarks require certain configuration options because 
they are written to use a certain "back-end" library explicitly.  When 
building from source, it automatically skips the benchmarks for which it 
is not configured.  For example: benchmarks/vmul_ipp.cpp will only be 
compiled if the library is configured to use Intel IPP.

When building against a binary distribution, no special benchmarks are 
built by default.  However, they may be built directly using the 
executable name.  For example:

    make -f make.standalone PREFIX=/path/to/vsipl++ vmul_ipp

The user may also wish to use the 'vars' target to determine that the 
correct PREFIX is being used and to see which libraries the installed 
VSIPL++ library is using.  E.g.

    make -f make.standalone PREFIX=/path/to/vsipl++ vars

Regards,

-- 
Don McCoy
don (at) CodeSourcery 
(888) 776-0262 / (650) 331-3385, x712

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mb.changes
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20060616/d87c42ba/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mb.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20060616/d87c42ba/attachment-0001.ksh>


More information about the vsipl++ mailing list