From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Ada and OpenMP
Date: Fri, 08 Mar 2013 16:47:06 +0100
Date: 2013-03-08T16:47:07+01:00 [thread overview]
Message-ID: <513a07fb$0$6643$9b4e6d93@newsspool2.arcor-online.net> (raw)
In-Reply-To: <f6fff4ba-e9a1-4335-a4a0-cb9d60152ad9@googlegroups.com>
On 08.03.13 15:53, Rego, P. wrote:
>> On Thursday, March 7, 2013 4:42:59 PM UTC-7, Randy Brukardt wrote:
>
>> Ada is about doing things right, and that should be true even for
>> implementation-defined stuff. And we *need* people to figure out good ways
>> of doing these things (for instance, a "parallel" classification for
>> functions would be very helpful). The sloppy way helps little.
>
> Got your point.
> Would you have a suggestion on how I could a loop such as "parallelization" like
>
> pragma OMP(Parallel_For)
> for I in 1 .. MAX loop
> A(I) := A(I) + 1
> end loop;
If A is an array of small objects, then with GNAT on Intel,
you can turn on -ftree-vectorize (or -O3) and see what this gives.
Adding -ftree-vectorizer-verbose=2 (old) or -fopt-info-optimize
instructs GCC to report successful vectorizations.
next prev parent reply other threads:[~2013-03-08 15:47 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-07 18:04 Ada and OpenMP Rego, P.
2013-03-07 20:04 ` Ludovic Brenta
2013-03-07 22:22 ` Peter C. Chapin
2013-03-07 23:42 ` Randy Brukardt
2013-03-08 0:39 ` Peter C. Chapin
2013-03-08 3:31 ` Randy Brukardt
2013-03-08 7:17 ` Simon Wright
2013-03-08 23:40 ` Randy Brukardt
2013-03-08 12:07 ` Peter C. Chapin
2013-03-08 14:40 ` Rego, P.
2013-03-08 1:15 ` Shark8
2013-03-08 3:42 ` Randy Brukardt
2013-03-08 14:53 ` Rego, P.
2013-03-08 15:47 ` Georg Bauhaus [this message]
2013-03-08 23:40 ` Randy Brukardt
2013-03-08 16:52 ` Shark8
2013-03-08 23:36 ` Randy Brukardt
2013-03-09 4:13 ` Brad Moore
2013-03-10 4:24 ` Randy Brukardt
2013-03-08 7:37 ` Simon Wright
2013-03-10 18:00 ` Waldek Hebisch
2013-03-07 23:43 ` Georg Bauhaus
2013-03-08 10:18 ` Georg Bauhaus
2013-03-08 14:24 ` Rego, P.
2013-03-07 22:52 ` Simon Wright
2013-03-08 21:37 ` Brad Moore
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox