[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [vsipl++] [patch] pwarp
- To: VSIPL++ Developers List <vsipl++@xxxxxxxxxxxxxxxx>
- Subject: Re: [vsipl++] [patch] pwarp
- From: Stefan Seefeld <stefan@xxxxxxxxxxxxxxxx>
- Date: Thu, 13 Dec 2007 13:34:00 -0500
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@xxxxxxxxxxxxxxxx
(650) 331-3385 x718
|