comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: GPUs and CUDA
Date: Tue, 12 Jul 2011 16:49:58 -0700 (PDT)
Date: 2011-07-12T16:49:58-07:00	[thread overview]
Message-ID: <98b32073-e1ef-4e97-80f8-ce068fba2738@h12g2000vbx.googlegroups.com> (raw)
In-Reply-To: 4e1c2153$0$2581$703f8584@news.kpn.nl

On Jul 12, 5:26 am, "ldries46" <bertus.dr...@planet.nl> wrote:
> |"Rego, P."  schreef in berichtnews:783efc18-a581-4ae2-bde4-04afa3568ff8@glegroupsg2000goo.googlegroups.com...
> |
> |>This would allow something like
> |> Pragma CUDA( Ralph );
> |>to indicate that the subprogram "Ralph" is to be run on the GPUs; and
> |>it would also allow non-CUDA enabled compilers to compile the source
> |>regardless of whether or not their compiler actually knows about CUDA.
> |
> |That's the idea. It would be very good.
>
> At this moment I don't know if this is a good idea, because CUDA is a
> language developped only for NVidia GPU's. One of the purposes of Ada I
> think is that a program can always be used on another computer with only the
> a simple recompilation. I would like a Pragma GPU( Ralph ) that can check
> which GPU is used and if that GPU has a CUDA like environment available.
>
> L. Dries

True; I was thinking more on the side of "what NVidia should have
done" in making their compiler.
The CUDA compiler is, after all, a a C-compiler with a bunch of
[nasty] add-ons.



  parent reply	other threads:[~2011-07-12 23:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-08 21:20 GPUs and CUDA Rego, P.
2011-07-08 23:18 ` anon
2011-07-11 17:45   ` Anatoly Chernyshev
2011-07-11 18:38     ` Georg Bauhaus
2011-07-12  5:59       ` Anatoly Chernyshev
2011-07-13 16:44         ` Shark8
2011-07-13 14:52       ` anon
2011-07-11 23:28     ` Shark8
2011-07-12  2:02       ` Rego, P.
2011-07-12 10:26         ` ldries46
2011-07-12 18:53           ` Gene
2011-07-12 23:49           ` Shark8 [this message]
2011-07-13 15:15             ` ldries46
2011-07-12  2:01     ` Rego, P.
2011-07-11 17:51   ` Nicholas Collin Paul de Glouceſter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox