jfalcou / eve

Expressive Vector Engine - SIMD in C++ Goes Brrrr
https://jfalcou.github.io/eve/
Boost Software License 1.0
961 stars 58 forks source link

[CI] SVE-512 tests timeout #1924

Open SadiinsoSnowfall opened 2 months ago

SadiinsoSnowfall commented 2 months ago

Some tests such as unit.algo.algorithm.min_element_generic_one_pass.exe and unit.algo.algorithm.swap_ranges_generic.exe regularely timeout under SVE-512.

jfalcou commented 2 months ago

I am dropping this old idea back here for discussion. Instead of compiling tests for cardinal 1 2 4 ... N 2N , what about comiling only for 1 N/2 N N2. It prevents the ballooning with large register ISA.

Currently on AVX512 we test :

With the other one, it'll be 4 tests per types, for 10 types total, for a grand total of 40. SO a reduction of 36.8% of the number of tests.

DenisYaroshevskiy commented 2 months ago
  1. Those are algo tests, they try reduced number of types already.

2.I think it's mostly about trying to validate too many things. Those are two_range generic tests. We should look at those and see if we can loop less

jfalcou commented 2 months ago

Should we then investigate using fuzz8ng firbthe algo test ?

DenisYaroshevskiy commented 2 months ago

Fuzzing would be amazing. I could spend less time designing horrific contraptions to catch bugs. But you need like somewhere to run those. I doubt oss fuzz will take eve

jfalcou commented 2 months ago

We can ask