[cfe-commits] [PATCH] First OpenMP patch

Dmitri Gribenko gribozavr at gmail.com
Tue Dec 18 07:19:42 PST 2012


On Tue, Dec 18, 2012 at 4:49 PM, Alexey Bataev <a.bataev at gmx.com> wrote:
> Hello everyone,
> Thank you very much for comments. I agree, that we should prepare some
> design description document. I'll try to prepapre it as soon as possible.
> I nthe meantime, I've prepared a new patch which emits warning when -fopenmp
> option is found and changed doc file from html to rst.

+Using of OpenMP
+===============

"Using OpenMP" or "Enabling OpenMP" or "Command line flags for OpenMP"
might be better

+
+To start using OpenMP in your program you need to add OpenMP directives in
+your code and specify compile-time flag **-fopenmp**. If an OpenMP program
+is compiled witout flag **-fopenmp**, a warning will be generated for the first

Please use ``a monospaced font`` or a special role :option:`-fopenmp`
to refer to program options.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list