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.5 required=5.0 tests=BAYES_00,STOX_REPLY_TYPE autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c08aa0f01f894da6 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!xlned.com!feeder1.xlned.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.12.MISMATCH!feed.xsnews.nl!border-2.ams.xsnews.nl!upload-2.xsnews.nl!10.10.60.7.MISMATCH!frontend-F10-07.ams.news.kpn.nl From: "ldries46" Newsgroups: comp.lang.ada References: <783efc18-a581-4ae2-bde4-04afa3568ff8@glegroupsg2000goo.googlegroups.com> In-Reply-To: <783efc18-a581-4ae2-bde4-04afa3568ff8@glegroupsg2000goo.googlegroups.com> Subject: Re: GPUs and CUDA Date: Tue, 12 Jul 2011 12:26:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3508.1109 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3508.1109 Message-ID: <4e1c2153$0$2581$703f8584@news.kpn.nl> Organization: KPN.com NNTP-Posting-Host: 77.168.179.107 X-Trace: 1310466388 news.kpn.nl 2581 77.168.179.107@kpn/77.168.179.107:63201 Xref: g2news2.google.com comp.lang.ada:21150 Date: 2011-07-12T12:26:25+02:00 List-Id: |"Rego, P." schreef in bericht news: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