comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: GNAT and OpenCL
Date: 07 May 2009 11:32:28 +0200
Date: 2009-05-07T11:32:28+02:00	[thread overview]
Message-ID: <87tz3xtg0j.fsf@nbi.dk> (raw)
In-Reply-To: 5994b17b-0276-488d-9ea9-d791bbc81265@j18g2000prm.googlegroups.com

Jerry wrote:

> Does anyone know if there is going to be a GNAT that takes advantage
> of OpenCL (Open Computing Language)?

I just took a quick look at the OpenCL documentation.  To me it looks
like it is relatively trivial to use OpenCL from Ada, if you just want
a thin binding, and don't mind writing your OpenCL kernels in OpenCL.

If you want to be able to compile pure Ada as OpenCL, then it seems to
be a much larger problem.  The compiler would have to decide which
parts of the program to run as OpenCL kernels.  And it would have to
compile those parts into OpenCL source code.  (The latter part of the
problem is something which Aonix seems to know a bit about.)

Greetings,

Jacob
-- 
�Verbing weirds language.�                         -- Calvin



  reply	other threads:[~2009-05-07  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07  4:38 GNAT and OpenCL Jerry
2009-05-07  9:32 ` Jacob Sparre Andersen [this message]
2009-05-07 10:25 ` anon
2009-05-07 12:25   ` Martin
2009-05-07 16:35     ` Hibou57 (Yannick Duchêne)
2009-05-07 22:15   ` Ivan Levashew
replies disabled

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