Now that gcc understands OpenMP directives, it would be really cool if the member functions of the std::valarray class could be annotated. Most of the member functions have loops over all elements that are trivially parallel and that could benefit from OpenMP autoparallelization. I am fairly sure that would give a nice speedup on those numerical codes that rely on it.
Best Wolfgang -- Summary: std::valarray should be annotated with OpenMP directives Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bangerth at dealii dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31000