This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: loop optimization in gcc


On Mon, Oct 12, 2009 at 11:28 PM, Ian Lance Taylor <iant@google.com> wrote:
> sandeep soni <saintiwara@gmail.com> writes:
>
>> On Mon, Oct 12, 2009 at 12:13 PM, Ian Lance Taylor <iant@google.com> wrote:
>>
>>> I'm not really sure what you are asking. ?gcc supports OpenMP for
>>> parallelizing loops. ?That 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
>

Well i was under a misconception then.Thanks for clearing this.


-- 
cheers
sandy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]