From: Adrian-Ken Rueegsegger <ken@codelabs.ch>
Subject: Re: Basic question on Ada multi-dimensional arrays, are they true (contiguous) arrays? aliasing rules?
Date: Wed, 21 Dec 2011 22:13:05 +0100
Date: 2011-12-21T22:13:05+01:00 [thread overview]
Message-ID: <jcti6h$vtv$2@dont-email.me> (raw)
In-Reply-To: <jcrbhs$9q6$1@speranza.aioe.org>
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/
prev parent reply other threads:[~2011-12-21 21:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-21 1:08 Basic question on Ada multi-dimensional arrays, are they true (contiguous) arrays? aliasing rules? Nasser M. Abbasi
2011-12-21 19:11 ` John B. Matthews
2011-12-22 2:49 ` Jeffrey Carter
2011-12-23 7:34 ` John B. Matthews
2011-12-21 21:11 ` Adrian-Ken Rueegsegger
2011-12-21 21:13 ` Adrian-Ken Rueegsegger [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox