[vsipl++] [patch] vmul benchmark reorganization

Jules Bergmann jules at codesourcery.com
Mon Mar 20 19:20:29 UTC 2006


Don McCoy wrote:
> The primary purpose of this patch is to separate out some 
> implementation-specific functionality that was making it difficult to 
> compile/run tests against the reference implementation of VSIPL++.
> 
> This reorganization includes several ideas discussed recently, such as 
> the new macro VSIP_IMPL_SOURCERY_VPP to allow applications to check if 
> they are running CodeSourcery's version of the library.
> 
> This macro is also used to choose between the parallel version of 
> benchmarks/loop.hpp and a new serial-only version (loop_ser.hpp).  I 
> have some reservations about doing it this way, but it seemed the best 
> in that it keeps the code in loop.hpp readable.

Don,

There is a lot in common between loop.hpp and loop_ser.hpp.  Let's see 
if we can avoid a complete copy.

Otherwise the patch looks good.

				-- Jules

> 
> This patch does not yet include the splitting of this benchmark into 
> serial, parallel and impl-specific parts.
> 
> Regards,
> 


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



More information about the vsipl++ mailing list