[vsipl++] [patch] Benchmarks update

Jules Bergmann jules at codesourcery.com
Wed Jun 21 18:52:23 UTC 2006


Don, This looks good.  Please check it in. -- Jules

Don McCoy wrote:
> 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,
> 


-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705



More information about the vsipl++ mailing list