[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/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 - COPRTHR 2 Discussion

COPRTHR 2 Discussion

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Re: COPRTHR 2 Discussion

Postby dar » Thu May 19, 2016 1:49 am

Correct. Support for multiple concurrent kernels needs to be updated unfortunately. The new design will support this in a different way and should be more flexible. coprthr_dexec() is the closest equivalent call right now, SIMD only.
dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: COPRTHR 2 Discussion

Postby nickoppen » Wed May 25, 2016 7:03 am

Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia

Re: COPRTHR 2 Discussion

Postby dar » Wed May 25, 2016 1:06 pm

Behavior you observe is correct at the moment, but you confirm that people will want multiple entry points supported. Right now the entry point is defined at compile time using the __entry qualifier. This can be adjusted to support your test code, it will be added to the things to fix. It was not clear if the coprthr_getsym() call made sense anymore but I am going to conclude that it does.

-DAR
dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: COPRTHR 2 Discussion

Postby nickoppen » Thu May 26, 2016 12:04 am

Thanks DAR,

I have been trying to get the kernel size to be as small as possible, thus leaving as much room for data as possible. Rightly or wrongly, I thought that only the code for the called kernel would be downloaded onto the epiphany. I was putting them in one file more for convenience.

I just noticed that the stats that coprcc shows after compilation refer to the whole file. What actually happens when then kernel is executed? If the whole e32 file is downloaded and picking out individual kernels is no possible, then maybe single entry points in multiple files would be the way to go.

nick
Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia

Re: COPRTHR 2 Discussion

Postby dar » Thu May 26, 2016 4:55 pm

dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: COPRTHR 2 Discussion

Postby nickoppen » Sat May 28, 2016 10:41 am

Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia

Re: COPRTHR 2 Discussion

Postby dar » Sat May 28, 2016 2:19 pm

dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: COPRTHR 2 Discussion

Postby nickoppen » Mon May 30, 2016 10:27 am

Sharing is what makes the internet Great!
User avatar
nickoppen
 
Posts: 266
Joined: Mon Dec 17, 2012 3:21 am
Location: Sydney NSW, Australia

Re: COPRTHR 2 Discussion

Postby dar » Mon May 30, 2016 12:38 pm

Right now you can only find global symbols by name. If you create a global ptr and set it to the address of your data you can find your data in two steps. Use sym to get the value of the pointer and then mem to look at the actual data. Not elegant but just allowing something like this seemed like progress. We will build this out further, the core debug features.

As far as the -o only generating .o files, that should not be. If you take a look at the cannon example a .e32 file is generated directly. Also by default, the -c option should behave as normal and produce an intermediate epiphany object file, and with the -o you should get an e.out file, a full linked epiphany binary analogous to a traditional a.out file.

Hope this helps, post if you still get stuck.
dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

Re: COPRTHR 2 Discussion

Postby dar » Mon May 30, 2016 12:42 pm

Btw you can also use ordinary shell commands from the core debugger, so if you do not want to search through a long list of symbols, try this,

sym | grep my_symbol

And the output of sym will be filtered. This is true for all commands, you can use awk, grep, etc., redirect output to a file, and you can pipe the output multiple times.
dar
 
Posts: 90
Joined: Mon Dec 17, 2012 3:26 am

PreviousNext

Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 21 guests

cron