[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]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community Supercomputing for Everyone 2013-06-06T19:09:01+00:00 https://parallella.org/forums/feed.php?f=23&t=264 2013-06-06T19:09:01+00:00 2013-06-06T19:09:01+00:00 https://parallella.org/forums/viewtopic.php?t=264&p=2133#p2133 <![CDATA[Re: How to wake up an idle core?]]> Statistics: Posted by ysapir — Thu Jun 06, 2013 7:09 pm


]]>
2013-06-06T17:57:12+00:00 2013-06-06T17:57:12+00:00 https://parallella.org/forums/viewtopic.php?t=264&p=2131#p2131 <![CDATA[Re: How to wake up an idle core?]]> Statistics: Posted by jeinstei — Thu Jun 06, 2013 5:57 pm


]]>
2013-04-15T20:13:35+00:00 2013-04-15T20:13:35+00:00 https://parallella.org/forums/viewtopic.php?t=264&p=1547#p1547 <![CDATA[Re: How to wake up an idle core?]]>
The SYNC signal should be fired when the core is in IDLE state. When fired, the core jumps to the 1st entry in the IVT. Normally, that entry point to main(). Thus, it makes a little sense to go into a wait loop, then fire SYNC. It should actually be done using the SW_INT interrupt, but then, an ISR has to be implemented.

Alternatively, just as @timpart writes, you load, but don't start the second (slave) core. Then, the 1st core (master) can use e_irq_remote_raise() to fire the slave's SYNC signal.

Your code for core(32,36) is basically correct - as this is what should be done to fire that interrupt on (32,37) - but there's a discrepancy I just found in the e-lib. It happens that the interrupt routines where designed according to the POSIX standard for signalling, but the Epiphany signal names (numbers, actually) are different. So, in order to fire the SYNC signal, please use (E_SYNC + 3) instead of just E_SYNC.

I attach a sample project to demonstrate this technique.

Statistics: Posted by ysapir — Mon Apr 15, 2013 8:13 pm


]]>
2013-04-15T13:23:17+00:00 2013-04-15T13:23:17+00:00 https://parallella.org/forums/viewtopic.php?t=264&p=1537#p1537 <![CDATA[Re: How to wake up an idle core?]]>
It might work better if you remove the wait code, load the program into the second core but don't run it, then the e_sync can start it when the first core is ready.

The experts can probably give you a better answer though and correct any mistakes I've made.

In particular is it possible to have core 2 waiting or idling and then get it to continue rather than reset. Would the signal interrupt be better? If so how do you use it properly?

Tim

Statistics: Posted by timpart — Mon Apr 15, 2013 1:23 pm


]]>
2013-04-15T12:22:03+00:00 2013-04-15T12:22:03+00:00 https://parallella.org/forums/viewtopic.php?t=264&p=1536#p1536 <![CDATA[How to wake up an idle core?]]> Statistics: Posted by jose — Mon Apr 15, 2013 12:22 pm


]]>