------- 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" <[EMAIL PROTECTED]> 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