Re: gains from vectorization
- From: kargl@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Steven G. Kargl)
- Date: Tue, 7 Jun 2005 17:51:34 +0000 (UTC)
In article <1118166052.339063.314050@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"student" <adarsh@xxxxxxxxxxxxx> writes:
> I am working with a g95 compiler and I need to increase the efficiency
> of my code.
You say "a g95 compiler", it would be helpful if you identified
the exact g95 compiler you are using. Try the --version option.
> one of the things that I came across while browsing the
> archives of this group is vectorization. However, after enabling that
> option using the flag -ftree-vectorize, I don't seem to be making any
> significant gains in performance.
-ftree-vectorize may help, but it depends on my observation above.
> Can anyone suggest something? Is it also something that's processor
> dependent? If that's the case how would I know if my processor can
> do that pipelining operation? uname -a on my system gives the
> following output:
>
> Linux s5 2.6.5-7.151-smp #1 SMP Fri Mar 18 11:31:21 UTC 2005 i686 i686
> i386 GNU/Linux
Your first step in making your code run faster is understanding where
the bottlenecks in performance occur. Try using the profiler to look
at the execution of the program.
--
Steve
http://troutmask.apl.washington.edu/~kargl/
.
- Follow-Ups:
- Re: gains from vectorization
- From: student
- Re: gains from vectorization
- From: student
- Re: gains from vectorization
- References:
- gains from vectorization
- From: student
- gains from vectorization
- Prev by Date: Re: writing to files
- Next by Date: Re: Problem while compiling
- Previous by thread: gains from vectorization
- Next by thread: Re: gains from vectorization
- Index(es):