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,220ccca02211e2c6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!postnews.google.com!dr5g2000vbb.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: OT - Intel Math Kernel Library Q Date: Tue, 12 Apr 2011 09:53:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7e47e348-3316-444e-84c2-0e21a69c4912@dr5g2000vbb.googlegroups.com> References: NNTP-Posting-Host: 149.32.224.34 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1302627199 3915 127.0.0.1 (12 Apr 2011 16:53:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 12 Apr 2011 16:53:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: dr5g2000vbb.googlegroups.com; posting-host=149.32.224.34; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:18773 Date: 2011-04-12T09:53:19-07:00 List-Id: On Apr 11, 6:31=A0pm, tmo...@acm.org wrote: > I understand the Intel Math Kernel Library uses an environment variable > to tell it how many CPUs to use. =A0Does that mean I can only set that > number at program start/library load time, and can't change it during > the course of running a program? Ada 2012 package System.Multiprocessors has been implemented in gcc-4.6.0. The function Number_Of_CPUs will return the CPU(s) of the machine currently run on. Anh Vo