Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vsipl++] [patch] pwarp


  • To: Jules Bergmann <jules@xxxxxxxxxxxxxxxx>
  • Subject: Re: [vsipl++] [patch] pwarp
  • From: Stefan Seefeld <stefan@xxxxxxxxxxxxxxxx>
  • Date: Thu, 13 Dec 2007 14:08:18 -0500

Jules Bergmann wrote:

>> 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.
> 
> You mean ALF 3.0, right?  I'm assuming libspe2 doesn't take away
> functionality.
> 
> What does ALF 3.0 force us to do here?


The ALF that ships with the SDK 3.0 :-) fully encapsulates the libspe2
interface, so we would never actually 'see' the loaded kernel. All we do
is pass various names (char const *) to ALF to allow it to dlopen /
dlsym the appropriate symbols. I'm not even sure we can query these
strings from ALF. (In CML I implemented a 'user-space' analog of the
task-info for caching purposes, as the latter has become an opaque
pointer, and thus doesn't allow us to implement a comparison operation.)

		Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan@xxxxxxxxxxxxxxxx
(650) 331-3385 x718