This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/31000] std::valarray should be annotated with OpenMP directives



------- 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


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