[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/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 - OpenMP Support
Page 1 of 2

OpenMP Support

PostPosted: Mon Jan 28, 2013 4:44 pm
by Takouh
Hello,

I am wondering if there will be an OpenMP SDK for Parallella boards. Is there any information regarding this matter?

Re: OpenMP Support

PostPosted: Mon Jan 28, 2013 5:13 pm
by olivererxleben
Hi,

Good question, I thought OpenMP is supported by gcc since 4.2 and I think it is implemented by the ephiphany gcc?!

Re: OpenMP Support

PostPosted: Fri Feb 08, 2013 4:12 am
by elecnix
FastFlow (LGPLv3) claims 35% performance over OpenMP:

http://calvados.di.unipi.it/dokuwiki/do ... pace:about

Re: OpenMP Support

PostPosted: Fri Apr 19, 2013 9:24 pm
by tjt7a
Is there support for OpenMP?

Tom

Re: OpenMP Support

PostPosted: Fri Apr 19, 2013 11:16 pm
by aolofsson
Not yet, but support for OpenMP is in the plans.
Andreas

Re: OpenMP Support

PostPosted: Thu Aug 29, 2013 2:13 pm
by kblomqvist
Forgive my ignorance but wasn't OpenMP support one of the deliverables for Kickstarter backers? "The book "An Introduction to Parallel Programming" to be written by the Adapteva team.(your choice) The book will be provided in PDF form and will include source code examples of parallel programs that use OpenCL, OpenMP, Erlang, and MPI."

Cheers,
Kim

Re: OpenMP Support

PostPosted: Fri Jan 03, 2014 1:47 pm
by greton100

Re: OpenMP Support

PostPosted: Fri Jan 03, 2014 8:32 pm
by aolofsson
I agree that OpenCL can be quite verbose. Have you looked at some of the OpenCL wrappers out there? We will eventually have openMP ready for release along with other easy to use frameworks.

Let me know if the following example helps at all? I don't think parallel programming is very difficult with the Epiphany at least for simple examples and well suited problems. Perhaps being a hardware person I just have a very high pain threshold. :D

https://github.com/adapteva/epiphany-ex ... parallella

Andreas

Re: OpenMP Support

PostPosted: Tue Jan 07, 2014 7:32 am
by greton100

Re: OpenMP Support

PostPosted: Sat Jan 11, 2014 5:18 am
by dar
Following up on the discussion of OpenCL wrappers. I would avoid OpenCL wrappers. If the OpenCL API cannot stand on its own, wrappers are not a long term solution. A significant issue is that Epiphany is not a GPU and OpenCL was designed around a GPU. So OpenCL GPU code will take you astray. We have learned this from experience.

Consider STDCL. Its not a wrapper but it leverages OpenCL for portability, at the moment at least, the way other APIs do, like OpenACC (though its very different from OpenACC). STDCL supports Parallella now with the COPRTHR SDK v1.6 released yesterday. The SDK also provides a more direct API that may be of interest in the context of getting OpenMP to work on Parallella for any project aimed in that direction. Many OpenMP implementations use pthreads for a thread pool. The COPRTHR direct API includes a logical extension of pthreads to co-processors. Parallella is a target for support. That may provide a useful connection in the future.

So there are really two interwoven issues here. If you want a quick example of parallel code for Parallella, STDCL is very simple and there are a lot of tools in place, like clcc that supports a standard compilation model - these things are available now, not future projects.

If you are looking for a programming quick start with examples for Parallella, we are hoping to post something within days. No tedious verbose OpenCL headaches. Just simple clean code.