From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26977 invoked by alias); 12 Oct 2009 17:58:55 -0000 Received: (qmail 26969 invoked by uid 22791); 12 Oct 2009 17:58:54 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Oct 2009 17:58:51 +0000 Received: from wpaz37.hot.corp.google.com (wpaz37.hot.corp.google.com [172.24.198.101]) by smtp-out.google.com with ESMTP id n9CHwlit028742 for ; Mon, 12 Oct 2009 18:58:48 +0100 Received: from fxm12 (fxm12.prod.google.com [10.184.13.12]) by wpaz37.hot.corp.google.com with ESMTP id n9CHwi0t005516 for ; Mon, 12 Oct 2009 10:58:44 -0700 Received: by fxm12 with SMTP id 12so2373928fxm.29 for ; Mon, 12 Oct 2009 10:58:44 -0700 (PDT) Received: by 10.86.181.6 with SMTP id d6mr5468833fgf.29.1255370324060; Mon, 12 Oct 2009 10:58:44 -0700 (PDT) Received: from coign.google.com (adsl-71-133-8-30.dsl.pltn13.pacbell.net [71.133.8.30]) by mx.google.com with ESMTPS id e20sm14049fga.10.2009.10.12.10.58.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Oct 2009 10:58:43 -0700 (PDT) To: sandeep soni Cc: gcc@gcc.gnu.org Subject: Re: loop optimization in gcc References: <43e4d4d20910110750v26711f80w793a5da15b267ff2@mail.gmail.com> <43e4d4d20910121044x6c950ef5g7edc2f5a2f185bd2@mail.gmail.com> From: Ian Lance Taylor Date: Mon, 12 Oct 2009 18:03:00 -0000 In-Reply-To: <43e4d4d20910121044x6c950ef5g7edc2f5a2f185bd2@mail.gmail.com> (sandeep soni's message of "Mon\, 12 Oct 2009 23\:14\:20 +0530") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00258.txt.bz2 sandeep soni writes: > On Mon, Oct 12, 2009 at 12:13 PM, Ian Lance Taylor wrot= e: > >> I'm not really sure what you are asking. =C2=A0gcc supports OpenMP for >> parallelizing loops. =C2=A0That is mostly done in the frontends. > > I have been told that openMP does parallelizing of loops, but these > types of optimizations are generally done for a large clusters of > computers (Is this correct?).Meaning thereby that these optimizations > are not used for low scale systems. That is not correct. OpenMP parallelizes loops within a single system, using pthreads. It does not parallelize loops across different systems. Ian