Page 1 of 1

e_write for arrays

PostPosted: Mon Jun 12, 2017 12:00 pm
by gordon
Is there a way to write a single dimensional array using e_write to the epiphany device from the host code/ In my case I'm using a one dimensional four element array and I want to write all four elements to a single core say, 0X0 core

Re: e_write for arrays

PostPosted: Mon Jun 12, 2017 1:14 pm
by sebraa
A one-dimensional array is stored in memory as a single block.
Note that there is no 0x0 core.

Re: e_write for arrays

PostPosted: Tue Jun 13, 2017 4:25 am
by gordon
sebraa wrote:A one-dimensional array is stored in memory as a single block.
Note that there is no 0x0 core.


Can you help me with the e_write declaration for this?

Re: e_write for arrays

PostPosted: Tue Jun 13, 2017 10:25 am
by sebraa
I recommend that you check the examples (they are pre-installed in all Parallella images).
In other threads, I have also published some of my applications, you can check those, too.

Re: e_write for arrays

PostPosted: Wed Jun 14, 2017 4:50 am
by gordon
sebraa wrote:I recommend that you check the examples (they are pre-installed in all Parallella images).
In other threads, I have also published some of my applications, you can check those, too.


Thankyou very much, I've found help in one of your post replies. :)