Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix subgroup_arithmetic benchmark for flexible subgroup sizes #46

Merged
merged 1 commit into from
Nov 27, 2023

Commits on Nov 24, 2023

  1. Fix subgroup_arithmetic benchmark for flexible subgroup sizes

    Set up source data values according to the subgroupSize device property.
    But inside the shader, measure the actual subgroup size, and pass it
    out of the shader. Then, adjust the verification logic to take that
    actual subgroup size into account.
    
    This still does the same amount of arithmetic as in the original
    code, and it does it in the same shape.
    
    Fixes: #45
    dneto0 committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    2dc151b View commit details
    Browse the repository at this point in the history