OpenMP AXPY Performance Issues
The openmp implementation of the add_scaled and sub_scaled kernels has some performance issues as mentioned in #1910. The issues are due to the if-check in the innermost loop. By adding __restrict to the input pointers it was possible to get a speedup. However, this added a lot of complexity and some slowdown for other cases. Thus, a more suitable approach needs to be found.
- Demand 25% × 0.25 = 60 reactions, 0 comments; labelled as performance/regression/priority
- Technical fit 30% × 0.61 = 18Ginkgo is in HPC & Scientific (a focus area); issue needs performance, which you listed
- Maintainer engagement 25% × 0.42 = 11comments not checked; filed by a maintainer; project responsiveness 89%
- Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
- #2146 OpenMP AXPY Performance Issuesissue
The openmp implementation of the add_scaled and sub_scaled kernels has some performance issues as mentioned in #1910. The issues are due to the if-check in the innermost loop. By adding __restrict to the input pointers it was possible to get a speedup. However, this added a lot…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
