[vsipl++] [patch] pwarp

Stefan Seefeld stefan at codesourcery.com
Thu Dec 13 18:34:00 UTC 2007


Jules Bergmann wrote:

> Why can't we just test the spe_program_handle_t* for uniqueness?  Then
> we can decentralize the selection of the right spe_program_handle_t* to
> the PPU bridge functions, and task_manager will just have to remember
> the last task loaded to avoid the extra reload.

Indeed, the spe_program_handle pointer is unique, too. However:

1) if we don't use embedded images, a call to get_image() will actually
load the kernel first, so we'd need to add some more cachine logic.

2) With SDK 3.0 (which we are going to adapt sooner or later anyhow), we
don't have access to that any more, or at least not in that raw form.

		Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718



More information about the vsipl++ mailing list