Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 9 Aug 2013 17:11:43 +0200
From: Katja Malvoni <kmalvoni@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Parallella: Litecoin mining

Hi Rafael,

On Fri, Aug 9, 2013 at 4:28 PM, Solar Designer <solar@...nwall.com> wrote:

> Katja, Yaniv -
>
> > I would like to know in there a way to allocate dynamic memory on an
> > specific address in order to avoid do this:
> >
> > volatile shared_buf_t M[16] SECTION("shared_dram");
> >
> > Because I really don?t need an 16 elements array per core I just need an
> > single element in an specific address.
>
> Can one of you comment on this, please?
>

I'm not sure I understand what are you trying to do, but do you need
dynamic allocation? Can you define buffer offset on host side to correspond
to specific address you need? I haven't tried this but since e_alloc()
needs buffer offset to allocate memory from host side it should be fine.
But I don't know how will Epiphany see it.
About dynamic allocation - if you aren't already using stdlib on Epiphany
side, including it may take more memory than having unnecessary array
elements.

Katja

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.