Skip to content

RVV target test failures #2078

Closed
Closed
@lsrcz

Description

@lsrcz

Hello, I compiled the HEAD version of highway (commit: 3cb5c1a) with a recent snapshot of clang-19 (commit: 44af53b), and I got failed tests.

The tests were run on qemu-riscv, and the following is the test outputs:

$ ctest --rerun-failed --output-on-failure -v                                                                 ─╯
Test project /home/siruilu/highway/build
    Start 565: MatVecTestGroup/MatVecTest.TestAllMatVec/RVV  # GetParam() = 137438953472
1/2 Test #565: MatVecTestGroup/MatVecTest.TestAllMatVec/RVV  # GetParam() = 137438953472 ...***Failed    0.21 sec
Running main() from /home/siruilu/highway/build/googletest-src/googletest/src/gtest_main.cc
Note: Google Test filter = MatVecTestGroup/MatVecTest.TestAllMatVec/RVV
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from MatVecTestGroup/MatVecTest
[ RUN      ] MatVecTestGroup/MatVecTest.TestAllMatVec/RVV
f64/f64 6 x 8, with add: mismatch at 0 0.000000 0.000000; tol 0.000000
Abort at matvec_test.cc:178: Assert 0

    Start 643: SortTestGroup/SortTest.TestAllPartition/RVV  # GetParam() = 137438953472
2/2 Test #643: SortTestGroup/SortTest.TestAllPartition/RVV  # GetParam() = 137438953472 ....***Failed    0.04 sec
Running main() from /home/siruilu/highway/build/googletest-src/googletest/src/gtest_main.cc
Note: Google Test filter = SortTestGroup/SortTest.TestAllPartition/RVV
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from SortTestGroup/SortTest
[ RUN      ] SortTestGroup/SortTest.TestAllPartition/RVV
Abort at sort_test.cc:342: U128: asc 1 left[0] piv 0 2 compares before 2 1 border 8


0% tests passed, 2 tests failed out of 2

Total Test time (real) =   0.25 sec

The following tests FAILED:
        565 - MatVecTestGroup/MatVecTest.TestAllMatVec/RVV  # GetParam() = 137438953472 (Failed)
        643 - SortTestGroup/SortTest.TestAllPartition/RVV  # GetParam() = 137438953472 (Failed)
Errors while running CTest

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