ROCm / MIOpen

AMD's Machine Intelligence Library
https://rocm.docs.amd.com/projects/MIOpen/en/latest/
Other
1.09k stars 230 forks source link

[gtest] move cpu-based ctest to gtest #3376

Closed CAHEK7 closed 2 weeks ago

CAHEK7 commented 3 weeks ago

It rewrites small CPU-based tests from CTest to gtest (only perfdb\sqlite_perfdb are left) and enables NONE datatype by default for all the stages. There is no urgent need for a pure CPU stage, since all the pure CPU tests take about 4 seconds to complete.

Side not for reviewers - I'd recommend doing it commit-by-commit, since each commit is a separated test rewriting.

The biggest change is tensor_test. It's not an ideal implementation, but I think now it's a bit better. I fixed few bugs, generalized test fixtures and reduce amount of code more than 3 times, while kept all the previous cases and even added few more. I'm open for ideas how it can be improved more.