This is the mail archive of the
mailing list for the GCC project.
Re: GCC 5.0 and OpenMP 4.0 accelerator : Adapteva/Parallella board
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Ilya Verbin <iverbin at gmail dot com>
- Cc: Nicholas Yue <yue dot nicholas at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 12 Feb 2015 17:00:31 +0100
- Subject: Re: GCC 5.0 and OpenMP 4.0 accelerator : Adapteva/Parallella board
- Authentication-results: sourceware.org; auth=none
- References: <54DC3B3B dot 2020504 at gmail dot com> <20150212154217 dot GB38630 at msticlxl57 dot ims dot intel dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Feb 12, 2015 at 06:42:17PM +0300, Ilya Verbin wrote:
> On Wed, Feb 11, 2015 at 21:33:47 -0800, Nicholas Yue wrote:
> > I would like to find out if this is the correct forum to
> > ask/discuss about GCC 5's OpenMP 4.0 implementation, in particular
> > the new accelerator feature which from what I understand, allows the
> > compute to be offloaded to external GPU/accelerator.
> > I have a Parallella board (ARM dual core) which has an Adapteva
> > chip (16 cores) and I would like to build a GCC 5 version for it.
> > I recall that the Adapteva is a supported CPU with GCC.
> Currently offloading to Epiphany targets is not supported by GCC.
> To support it, one needs to implement at least 2 things:
> 1. mkoffload tool, like gcc/config/i386/intelmic-mkoffload.c or
> 2. libgomp plugin, like liboffloadmic/plugin/libgomp-plugin-intelmic.cpp or
3. port libgomp to the epiphany which supposedly doesn't have pthread
support, but some other way to spawn threads (this is similar to nvptx).