This is the mail archive of the
mailing list for the GCC project.
Re: Intel Phi co-processor support
- From: Ilya Verbin <iverbin at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Angel Dimitrov <stormlaboratory at gmail dot com>, Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>, "H. J. Lu" <hjl dot tools at gmail dot com>, GCC Development <gcc at gcc dot gnu dot org>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Fri, 3 Feb 2017 19:43:52 +0300
- Subject: Re: Intel Phi co-processor support
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com> <20170203130048.GF14051@tucnak>
2017-02-03 16:00 GMT+03:00 Jakub Jelinek <firstname.lastname@example.org>:
> On Fri, Feb 03, 2017 at 02:50:37PM +0200, Angel Dimitrov wrote:
> > Can I compile on Linux with gfortran code and to run it on Phi
> > co-processor? Or it is better to use Intel FORTRAN compiler?
> Depends on which XeonPhi do you have. GCC doesn't support Knights Ferry
> or Knights Corner, does support Knights Landing.
> That said, for KNL I've only seen so far standalone KNL processors for
> which I'm not sure if offloading is possible or desirable; IMHO if
It is possible using so called "offload over fabric".
Here is a how-to , which can be adapted just by replacing "icc
-qopenmp" with "gcc -fopenmp", I guess.
> KNL is the main processor in the computer, then everything is host
> for you and thus just using non-target OpenMP code should be sufficient,
> so the KNL offloading should be (mainly or solely) for the case when
> KNL is a coprocessor, does such thing really exist or is planned?
> Can somebody from Intel please clarify?