This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/31000] std::valarray should be annotated with OpenMP directives
- From: "gdr at cs dot tamu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2007 15:23:57 -0000
- Subject: [Bug libstdc++/31000] std::valarray should be annotated with OpenMP directives
- References: <bug-31000-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from gdr at cs dot tamu dot edu 2007-03-19 15:23 -------
Subject: Re: std::valarray should be annotated with OpenMP directives
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| (In reply to comment #3)
| > I suspect that parallelizing for SSE/Altivec might be more peneficial
| > in most cases than for OpenMP -- OpenMP is a 1,000 pounds gorilla.
|
| I certainly agree. The beauty is that one may have both: SSE/Altivec/... if
| the template argument of std::valarray is float/double/int (in which case one
| would have to have explicit specializations of the member functions), and
| OpenMP if it is anything else.
on my single node AMD64 machine, I would prefer the compiler to
generate codes that takes advantage of SSE than launch OpenMP. On
the other hand, if I had multiple nodes, I might be contemplating
OpenMP for some of the valarray<double>s, so I'm not sure the issue is
that simply cut...
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31000