Skip to content

1.1.1: failing epu8 tests on aarch64 #70

@jamesjer

Description

@jamesjer

I attempted to build version 1.1.1 on Fedora Rawhide machines. The x86_64 build succeeded and passed all tests. The aarch64 build succeeded, but the epu8 test failed:

+ /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j12
Internal ctest changing into directory: /builddir/build/BUILD/HPCombi-1.1.1-build/HPCombi-1.1.1/redhat-linux-build
Test project /builddir/build/BUILD/HPCombi-1.1.1-build/HPCombi-1.1.1/redhat-linux-build
    Start 1: TestEPU8
    Start 2: TestPerm16
    Start 3: TestPermAll
    Start 4: TestBMat8
    Start 5: TestBMat16
1/5 Test #4: TestBMat8 ........................   Passed    0.01 sec
2/5 Test #5: TestBMat16 .......................   Passed    0.01 sec
3/5 Test #1: TestEPU8 .........................***Failed    0.13 sec
Randomness seeded to: 602975756
[039][Epu8] horiz_max_ref == horiz_max3
[010][Epu8] Epu8::less
[048][Epu8] horiz_min_ref == horiz_min3
[021][Epu8] Epu8::sort_perm
[013][Epu8] Epu8::shifted_left
[069][Epu8] is_permutation_eval
[027][Epu8] Epu8::horiz_sum_ref
[012][Epu8] permuted == permuted_ref
[007][Epu8] Epu8::is_all_one
[049][Epu8] horiz_min_ref == horiz_min
[054][Epu8] Epu8::eval16_ref
[023][Epu8] Epu8::permutation_of
[061][Epu8] Epu8::popcount16
[068][Epu8] is_permutation_sort
[053][Epu8] partial_min_ref == partial_min
[063][Epu8] is_partial_transformation
[050][Epu8] Epu8::partial_min_ref
[047][Epu8] horiz_min_ref == horiz_min4
[058][Epu8] eval16_ref == eval16_gen
[062][Epu8] random_epu8
[038][Epu8] horiz_max_ref == horiz_max4
[045][Epu8] Epu8::horiz_min_ref
[033][Epu8] partial_sums_ref == partial_sums_gen
[006][Epu8] Epu8::is_all_zero
[019][Epu8] Epu8::sorted
[057][Epu8] eval16_ref == eval16_arr
[037][Epu8] horiz_max_ref == horiz_max_gen
[044][Epu8] partial_max_ref == partial_max
[018][Epu8] Epu8::is_sorted
[011][Epu8] Epu8::permuted
[060][Epu8] Epu8::popcount
[046][Epu8] horiz_min_ref == horiz_min_gen
[031][Epu8] horiz_sum_ref == horiz_sum
[025][Epu8] Epu8::merge
[015][Epu8] Epu8::reverted
[002][Epu8] Epu8::first_diff_mask
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test_epu8 is a Catch2 v3.10.0 host application.
Run with -? for options
-------------------------------------------------------------------------------
Epu8::first_diff_mask
-------------------------------------------------------------------------------
/builddir/build/BUILD/HPCombi-1.1.1-build/HPCombi-1.1.1/tests/test_epu8.cpp:90
...............................................................................
/builddir/build/BUILD/HPCombi-1.1.1-build/HPCombi-1.1.1/tests/test_epu8.cpp:95: FAILED:
  CHECK( first_diff_mask(x, y, i) == first_diff_ref(x, y, i) )
with expansion:
  0 == 16
/builddir/build/BUILD/HPCombi-1.1.1-build/HPCombi-1.1.1/tests/test_epu8.cpp:95: FAILED:
  CHECK( first_diff_mask(x, y, i) == first_diff_ref(x, y, i) )
with expansion:
  0 == 1

[omit a large number of failure messages similar to the above]

/builddir/build/BUILD/HPCombi-1.1.1-build/HPCombi-1.1.1/tests/test_epu8.cpp:95: FAILED:
  CHECK( first_diff_mask(x, y, i) == first_diff_ref(x, y, i) )
with expansion:
  0 == 2
[043][Epu8] partial_max_ref == partial_max_round
[065][Epu8] is_partial_permutation
[024][Epu8] Epu8::permutation_of_ref
[042][Epu8] partial_max_ref == partial_max_gen
[066][Epu8] is_permutation
[008][Epu8] Epu8::equal
[003][Epu8] Epu8::last_diff_ref
[056][Epu8] eval16_ref == eval16_popcount
[026][Epu8] Epu8::remove_dups
[016][Epu8] Epu8::as_array
[064][Epu8] is_transformation
[005][Epu8] Epu8::last_diff_mask
[028][Epu8] horiz_sum_ref == horiz_sum_gen
[052][Epu8] partial_min_ref == partial_min_round
[059][Epu8] eval16_ref == eval16
[035][Epu8] partial_sums_ref == partial_sums
[041][Epu8] Epu8::partial_max_ref
[040][Epu8] horiz_max_ref == horiz_max
[029][Epu8] horiz_sum_ref == horiz_sum4
[055][Epu8] eval16_ref == eval16_cycle
[022][Epu8] Epu8::sort8_perm
[009][Epu8] Epu8::not_equal
[014][Epu8] Epu8::shifted_right
[036][Epu8] Epu8::horiz_max_ref
[017][Epu8] Epu8(array)
[032][Epu8] Epu8::partial_sums_ref
[034][Epu8] partial_sums_ref == partial_sums_round
[030][Epu8] horiz_sum_ref == horiz_sum3
[020][Epu8] Epu8::revsorted
[000][Epu8] Epu8::first_diff_ref
[051][Epu8] partial_min_ref == partial_min_gen
===============================================================================
test cases:      67 |      66 passed |   1 failed
assertions: 2587759 | 2587281 passed | 478 failed
4/5 Test #3: TestPermAll ......................   Passed    0.42 sec
5/5 Test #2: TestPerm16 .......................   Passed    0.84 sec
80% tests passed, 1 tests failed out of 5
Total Test time (real) =   0.84 sec
The following tests FAILED:
	  1 - TestEPU8 (Failed)
Errors while running CTest

This is using the Fedora build of simde 0.8.2, which includes patches for issues detected after the 0.8.2 release. I'm interested to know if you see the same test failure or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions