[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-07-31T06:17:14+00:00 https://parallella.org/forums/feed.php?f=23&t=474 2013-07-31T06:17:14+00:00 2013-07-31T06:17:14+00:00 https://parallella.org/forums/viewtopic.php?t=474&p=2946#p2946 <![CDATA[Re: What happens when eCores return? Can't reuse them w/o re]]>
When you enable an IRQ line in your program (e_irq_mask()), then you should attach a valid ISR. This will ensure that the relevant vector is up-to-date and valid.

Statistics: Posted by ysapir — Wed Jul 31, 2013 6:17 am


]]>
2013-07-31T00:58:33+00:00 2013-07-31T00:58:33+00:00 https://parallella.org/forums/viewtopic.php?t=474&p=2937#p2937 <![CDATA[Re: What happens when eCores return? Can't reuse them w/o re]]>
One more question, maybe actually a bug -- IVT doesn't get reset by system_reset(). In other words, if an interrupt has been registered (I'm meaning writing an instruction to IVT address manually) by some program it's impossible to clear it without accessing the register explicitly. Even rebooting the system doesn't help and one has to power off/on to bring IVT to the default state. I believe either system_reset() or e-reset should be able to handle it. Otherwise one always has to track what interrupt has been registered and when, it's very hard and bug prone.
-Ivan

Statistics: Posted by mipt98 — Wed Jul 31, 2013 12:58 am


]]>
2013-07-30T02:54:17+00:00 2013-07-30T02:54:17+00:00 https://parallella.org/forums/viewtopic.php?t=474&p=2886#p2886 <![CDATA[Re: What happens when eCores return? Can't reuse them w/o re]]>
Using the e_reset_system() API inside a tight loop is not the way to go. If you need quick cycles of program restart - then don't exit the program in the first place. Make it a "service" that runs in an infinite loop, waiting for a signal from the host to start crunching. The cost of writing a value to a mailbox on the core is the same as if writing the SYNC signal by e_start().

That said, there is also the e_reset_core() API that is faster (does not have the delay of the system reset), but is less safe in certain situations, and in addition, is required to be activated on each core in the group. BTW, if you want to reset a workgroup, then e_system_reset() is not appropriate anyway, as it will terminate whatever processes running on other workgroups.

Statistics: Posted by ysapir — Tue Jul 30, 2013 2:54 am


]]>
2013-07-30T00:01:19+00:00 2013-07-30T00:01:19+00:00 https://parallella.org/forums/viewtopic.php?t=474&p=2883#p2883 <![CDATA[What happens when eCores return? Can't reuse them w/o reset]]> Statistics: Posted by mipt98 — Tue Jul 30, 2013 12:01 am


]]>