This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 5.0 and OpenMP 4.0 accelerator : Adapteva/Parallella board


On Thu, Feb 12, 2015 at 06:42:17PM +0300, Ilya Verbin wrote:
> Hi,
> 
> 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
> gcc/config/nvptx/mkoffload.c
> 
> 2. libgomp plugin, like liboffloadmic/plugin/libgomp-plugin-intelmic.cpp or
> libgomp/plugin/plugin-nvptx.c

And likely
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).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]