[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enabling OpenMP by default
From: |
Stefan Seefeld |
Subject: |
Re: Enabling OpenMP by default |
Date: |
Sun, 10 Mar 2013 17:06:35 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
On 03/10/2013 04:50 PM, Júlio Hoffimann wrote:
> OpenMP pragmas are simply ignored by the compiler when the `-fopenmp'
> flag is omitted and the code remains as if untouched. The only
> consequence is a warning (e.g. warning: ignored #pragma omp). If we
> enable OpenMP by default, people won't see these warnings unless they
> explicitly disable the flag through configure similar to what is done
> today (i.e. --enable-openmp).
Alternatively you could disable the warning using |-Wno-unknown-pragmas|.
FWIW,
Stefan
--
...ich hab' noch einen Koffer in Berlin...