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

spirv_new: fix test_decorate. #1980

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Commits on Jun 13, 2024

  1. spirv_new: fix test_decorate.

    test_decorate was checking for half-precision NAN incorrectly, calling
    cl_half_from_float where cl_half_to_float was intended, causing a wrong
    expected result.
    
    test_decorate was also printing the expected and actual results
    reversed, printing "got -1, want 0", when our implementation already
    returned 0.
    hvdijk committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    d0b7dc9 View commit details
    Browse the repository at this point in the history