[flang-commits] [flang] [flang][runtime] Address PRODUCT numeric discrepancy, folding vs runtime (PR #90125)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Wed May 1 10:17:56 PDT 2024
================
@@ -188,7 +188,8 @@ void RTDEF(CppSumComplex16)(CppTypeFor<TypeCategory::Complex, 16> &result,
void RTDEF(SumDim)(Descriptor &result, const Descriptor &x, int dim,
const char *source, int line, const Descriptor *mask) {
TypedPartialNumericReduction<IntegerSumAccumulator, RealSumAccumulator,
- ComplexSumAccumulator>(result, x, dim, source, line, mask, "SUM");
+ ComplexSumAccumulator, /*MIN_REAL_KIND=*/4>(
----------------
klausler wrote:
I need to also change the types in real/complex * 4 total summation; will do.
https://github.com/llvm/llvm-project/pull/90125
More information about the flang-commits
mailing list