Re: [hsa 5/12] New HSA-related GCC options

2015-11-13 Thread Martin Jambor
On Thu, Nov 12, 2015 at 12:19:50PM +0100, Jakub Jelinek wrote: > On Mon, Nov 09, 2015 at 05:58:56PM +0100, Martin Jambor wrote: > > > But I don't see any way to disable it on the command line? (no switch?) > > > > No, the switch is -foffload, which has missing documentation (PR > > 67300) and is

Re: [hsa 5/12] New HSA-related GCC options

2015-11-12 Thread Jakub Jelinek
On Mon, Nov 09, 2015 at 05:58:56PM +0100, Martin Jambor wrote: > > But I don't see any way to disable it on the command line? (no switch?) > > No, the switch is -foffload, which has missing documentation (PR > 67300) and is only described at https://gcc.gnu.org/wiki/Offloading > Nevertheless, the

Re: [hsa 5/12] New HSA-related GCC options

2015-11-10 Thread Richard Biener
On Mon, 9 Nov 2015, Martin Jambor wrote: > Hi, > > On Fri, Nov 06, 2015 at 09:42:25AM +0100, Richard Biener wrote: > > On Thu, 5 Nov 2015, Martin Jambor wrote: > > > > > Hi, > > > > > > the following small part of the merge deals with new options. It adds > > > four independent things: > > >

Re: [hsa 5/12] New HSA-related GCC options

2015-11-09 Thread Martin Jambor
Hi, On Fri, Nov 06, 2015 at 09:42:25AM +0100, Richard Biener wrote: > On Thu, 5 Nov 2015, Martin Jambor wrote: > > > Hi, > > > > the following small part of the merge deals with new options. It adds > > four independent things: > > > > 1) flag_disable_hsa is used by code in opts.c (in the firs

Re: [hsa 5/12] New HSA-related GCC options

2015-11-06 Thread Richard Biener
On Thu, 5 Nov 2015, Martin Jambor wrote: > Hi, > > the following small part of the merge deals with new options. It adds > four independent things: > > 1) flag_disable_hsa is used by code in opts.c (in the first patch) to >remember whether HSA has been explicitely disabled on the compiler >

Re: [hsa 5/12] New HSA-related GCC options

2015-11-05 Thread Joseph Myers
The new options need to be documented in invoke.texi. -- Joseph S. Myers jos...@codesourcery.com

[hsa 5/12] New HSA-related GCC options

2015-11-05 Thread Martin Jambor
Hi, the following small part of the merge deals with new options. It adds four independent things: 1) flag_disable_hsa is used by code in opts.c (in the first patch) to remember whether HSA has been explicitely disabled on the compiler command line. 2) -Whsa is a new warning we emit whene