Skip to content

reduction fails due to accuracy. #97

@ingridli

Description

@ingridli

Hi experts,

When working on reduction problems, I often fail due to precision issues on A100 and H100. Later, I directly submitted several codes from the solution section, but I still encountered the same problem. The specific manifestation is as follows. Could someone please help me figure it out?

I tried the answer from "SteadfastTactician088" and "EnchantingSavant288".
Test failed! Here are the inputs:
input = [-1.0558, 6.6916, 6.4315, 1.4499, -5.5541, ..., 8.1268, 8.7411, -5.1739, -1.3938, 8.3171]
N = 50000000
Mismatch in 'output'
Expected: [-1883.689453125]
Got: [-1883.7373046875]
Max abs diff: 0.0478515625
Performance run failed correctness check

Thanks,
Ingrid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions