[patch] Tunable parameters

Jules Bergmann jules at codesourcery.com
Wed Sep 10 15:39:07 UTC 2008


This adds tunable parameters to the CBE vmul and transpose/copy evaluators.

The idea is to include the problem size (a runtime parameter) into the 
rt_valid decision.  For Cell, this sends small problem sizes to the PPE 
where they can be handled faster.

The threshold is a single parameter.  Tuning is done by finding the 
cross-over point between PPU only performance with nominal 8 SPU 
performance.

To allow tuning data to be recollected after tuning parameters have been 
set, tunable_threshold() functions should return 0 when 
VSIP_IMPL_TUNE_MODE is 1.

Ok to apply?

				-- Jules

-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tp.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20080910/df9a59c7/attachment.ksh>


More information about the vsipl++ mailing list