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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC 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!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: anon@att.net Newsgroups: comp.lang.ada Subject: Re: GPUs and CUDA Date: Wed, 13 Jul 2011 14:52:06 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <09ad3bbb-b0a3-438b-9263-b2cb49098e5c@glegroupsg2000goo.googlegroups.com> <4e1b4333$0$6583$9b4e6d93@newsspool3.arcor-online.net> Reply-To: anon@anon.org NNTP-Posting-Host: EEDU/DrN55l5oEks26V2Ng.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: IBM NewsReader/2 2.0 Xref: g2news2.google.com comp.lang.ada:21163 Date: 2011-07-13T14:52:06+00:00 List-Id: 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 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? >