comp.lang.ada
 help / color / mirror / Atom feed
From: anon@att.net
Subject: Re: GPUs and CUDA
Date: Wed, 13 Jul 2011 14:52:06 +0000 (UTC)
Date: 2011-07-13T14:52:06+00:00	[thread overview]
Message-ID: <ivkbek$dkb$1@speranza.aioe.org> (raw)
In-Reply-To: 4e1b4333$0$6583$9b4e6d93@newsspool3.arcor-online.net

Under the CUDA system the parallel code is written in C and can be 
called by C, JAVA, Ruby, etc.  And can include Ada with use of 
"pragma Import" statement.  But why use another hosting language, because 
it is only required to load and start execution of the parallel code, and 
to handle the "Windows" or "X-Windows" environment for the program. Ada 
has third party packages for some windows environment, but most 
programming for Ada do not use them.

For Learning parallel, in my opinion I would use the CUDA C compiler 
to create both parallel code and the hosting code. For the hosting 
code, just use an sample code and alter it to fit you needs.

But the main problem in using CUDA is the memory is to small for 
the parallel design. It mostly setup for graphics.


In <4e1b4333$0$6583$9b4e6d93@newsspool3.arcor-online.net>, Georg Bauhaus <rm.dash-bauhaus@futureapps.de> writes:
>On 7/11/11 7:45 PM, Anatoly Chernyshev wrote:
>
>> Well, the most attractive application of CUDA is not the graphics, but
>> parallel computing using modern graphic chips. The performance gain
>> for the parallelizable programs, which can use CUDA, is pretty
>> significant on a PC. I was looking into using it myself, and eagerly
>> waiting when somebody comes up with the Ada binding.
>
>Wouldn't a multicore PC with additional Graphics processors be
>a candidate for an Ada 2012 Ravenscar multicore runtime?
>




  parent reply	other threads:[~2011-07-13 14:52 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 [this message]
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
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