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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,88db7d38d464e3b1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.202.37 with SMTP id kf5mr14939649pbc.7.1334168158562; Wed, 11 Apr 2012 11:15:58 -0700 (PDT) Path: r9ni44851pbh.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: In case you need to remember... Date: Wed, 11 Apr 2012 11:15:58 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8808643.738.1334168158242.JavaMail.geo-discussion-forums@ynvv7> References: <1984433.261.1333725652284.JavaMail.geo-discussion-forums@vbbfr18> NNTP-Posting-Host: 24.230.150.102 Mime-Version: 1.0 X-Trace: posting.google.com 1334168158 20582 127.0.0.1 (11 Apr 2012 18:15:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 11 Apr 2012 18:15:58 +0000 (UTC) Cc: anon@anon.org In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.230.150.102; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-04-11T11:15:58-07:00 List-Id: On Friday, April 6, 2012 3:09:24 PM UTC-5, an...@att.net wrote: > The truth is Ada is Concurrent which means Ada uses one and only one=20 > thread for all tasks.=20 That's certainly not what the video over here implies: http://www.adapower.com/index.php?Command=3DClass&ClassID=3DAdvocacyVideos&= Title=3DAda+Advocacy+Videos (I'm not sure which segment, I'm currently on a no-sound computer so I can'= t check.) Further, because TASK is a language-construct it may be handled in any numb= er of ways, so long as that implementation conforms to the requirements of = the ARM. Though even that could conceivably be handled differently via prag= ma usage; the ARM is quite permissive about implementation defined pragmas: "In addition, an implementation may provide implementation-defined pragmas,= which must then be described in Appendix F. An implementation is not allow= ed to define pragmas whose presence or absence influences the legality of t= he text outside such pragmas. Consequently, the legality of a program does = not depend on the presence or absence of implementation-defined pragmas." (see http://archive.adaic.com/standards/83lrm/html/lrm-02-08.html ) The above means that NVidia could have used Ada tasks as its CUDA/GPU-proce= ssor code via pragma; allowing the compiler to a) reject code which could n= ot be run on the GPU, or b) pass the task on to the main CPU and issue a wa= rning with the technical limitation barring it from being put onto the GPUs= . {Further, such code would also be able to be compiled with any regular Ad= a compiler which only warned about the unrecognized pragmas.}