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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f0a4dc584cb226d8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.190.2 with SMTP id gm2mr6010262pbc.4.1324501961419; Wed, 21 Dec 2011 13:12:41 -0800 (PST) Path: lh20ni49212pbb.0!nntp.google.com!news1.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Adrian-Ken Rueegsegger Newsgroups: comp.lang.ada Subject: Re: Basic question on Ada multi-dimensional arrays, are they true (contiguous) arrays? aliasing rules? Date: Wed, 21 Dec 2011 22:11:50 +0100 Organization: A noiseless patient Spider Message-ID: <4EF24B96.5050303@codelabs.ch> References: Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="piFu2jp/mtIZ3kaJLZ0YBw"; logging-data="32703"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+X7JE10JHbxhq5tk4V9wPX" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20111110 Icedove/3.0.11 In-Reply-To: Cancel-Lock: sha1:43Gaa2nQptOpUeEwXV0D9WcHbcQ= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2011-12-21T22:11:50+01:00 List-Id: On 12/21/2011 02:08 AM, Nasser M. Abbasi wrote: > Sorry for such a basic question on Ada, it has been a while since > I used Ada (but it remains my most favorite computer language). [snip] > Are there are benchmarks comparing Ada for Fortran in this specific area? This is just barely related but maybe it is still of interest to you: as part of writing the CUDA/Ada binding [1] I did some benchmarking of matrix operations (addition and multiplication) using the Ada.Numerics.Real_Arrays package. I compared the native Ada implementation ("*"-operator), doing the multiplication on the GPU using the CUDA/Ada binding and a native CUDA C implementation. We are in the middle of finishing up the article documenting CUDA/Ada which will contain a section analyzing the performance measurements. The main focus is on the potential performance penalty of CUDA/Ada vs native CUDA C though so as mentionend in the beginning this is probably tangential to your question... Cheers, Adrian -- [1] - http://www.codelabs.ch/cuda-ada/