[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Up-to-date Epiphany SDK manual ?

Up-to-date Epiphany SDK manual ?

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Up-to-date Epiphany SDK manual ?

Postby alfadnf » Tue May 31, 2016 2:16 pm

Hi,

I was reading this documentation Epiphany SDK manual and also staring at Epiphany examples in images.

I noticed some library functions (e_shm_attach) in examples aren't in Epiphany SDK manual. Is the docs obsolete or...???

SDK manual:

Cheers,
alfadnf
 
Posts: 3
Joined: Tue May 31, 2016 2:08 pm

Re: Up-to-date Epiphany SDK manual ?

Postby 6thimage » Tue May 31, 2016 6:56 pm

I wouldn't say obsolete, it just hasn't been updated for a while. The examples are the best available information on the new functions (i.e. ).

Changes don't tend to be publicly documented very quickly, but it might be that they still consider some of the functionality to be in testing. I have tried to use the shared memory features quite recently, but I couldn't get it to reliably work with the large memory allocations I needed, so I just used the older eram technique.
6thimage
 
Posts: 7
Joined: Sun Apr 17, 2016 1:00 pm

Re: Up-to-date Epiphany SDK manual ?

Postby alfadnf » Wed Jun 01, 2016 9:38 am

alfadnf
 
Posts: 3
Joined: Tue May 31, 2016 2:08 pm

Re: Up-to-date Epiphany SDK manual ?

Postby 6thimage » Wed Jun 01, 2016 3:27 pm

The shared memory allocations are persistent - so if you allocate it but do not free it (i.e. your program crashed) the allocation will fail.

That code snippet firsts tries to allocate the shared memory, if it fails, it tries to attach to the shared memory (in case the alloc fail was due to it already existing). And I'm guessing if that fails it will display an error message and exit the program.
6thimage
 
Posts: 7
Joined: Sun Apr 17, 2016 1:00 pm

Re: Up-to-date Epiphany SDK manual ?

Postby cmcconnell » Wed Jun 01, 2016 4:06 pm

Colin.
cmcconnell
 
Posts: 99
Joined: Thu May 22, 2014 6:58 pm

Re: Up-to-date Epiphany SDK manual ?

Postby alfadnf » Wed Jun 01, 2016 4:14 pm

Thank you !
alfadnf
 
Posts: 3
Joined: Tue May 31, 2016 2:08 pm

Re: Up-to-date Epiphany SDK manual ?

Postby 6thimage » Wed Jun 01, 2016 9:14 pm

6thimage
 
Posts: 7
Joined: Sun Apr 17, 2016 1:00 pm

Re: Up-to-date Epiphany SDK manual ?

Postby cmcconnell » Thu Jun 02, 2016 2:37 am

Colin.
cmcconnell
 
Posts: 99
Joined: Thu May 22, 2014 6:58 pm


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 20 guests

cron