From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5164ccc41905b2d0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.18.132 with SMTP id w4mr1811656qaa.1.1362753644337; Fri, 08 Mar 2013 06:40:44 -0800 (PST) X-Received: by 10.49.97.166 with SMTP id eb6mr42858qeb.0.1362753644309; Fri, 08 Mar 2013 06:40:44 -0800 (PST) Path: o5ni47qas.0!nntp.google.com!dd2no8251314qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 8 Mar 2013 06:40:44 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.77.226.1; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 189.77.226.1 References: <87k3pjht79.fsf@ludovic-brenta.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada and OpenMP From: "Rego, P." Injection-Date: Fri, 08 Mar 2013 14:40:44 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-03-08T06:40:44-08:00 List-Id: > > Isn't OpenMP aimed at SIMD-type machines (as in video processors), as > > opposed to generalized cores as in typical Intel and ARM designs? > > Fine-grained parallelism doesn't make much sense on the latter, because > > cache coherence and core scheduling issues will eat up gains in almost = all > > circumstances. Ada tasks are a much better model. >=20 > Well, I used OpenMP for a program targeting x64 architectures and it=20 > worked well in my case. It was easy to use: my program became 8x faster= =20 > by the addition of a single line of source text. It even computed the=20 > right answer. My program was very well suited to the OpenMP model of=20 > computation, however, so I wouldn't expect such a dramatic result in all= =20 > cases of course. In my case, I'm using OpenMP in a parallel computer (which I do not have id= ea of the architecture). But I would like to use also on my I7 x64 6/4 core= s, just for curiosity, sure it's not a supermachine, but it would be good t= o compare the same algorithms performance with it. The idea of using Ada ca= me out because while studying OpenMP I found very similar several parallel = OpenMP concepts with the Ada tasking scheme, so why not (if it could be don= e).