diff options
author | Benoit Jacob <benoitjacob@google.com> | 2021-10-21 06:04:54 +0300 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2021-10-21 06:05:31 +0300 |
commit | 670e69dfb4701f9970232512843c49f3b66d00d7 (patch) | |
tree | 3674efeb81b92fe8dc56b336ad5208c04c35367f | |
parent | c31af31ad62cc74650b04368cd9369a389d23248 (diff) |
Disable the internal test-only variants of the StandardCpp path in benchmarks
PiperOrigin-RevId: 404697829
-rw-r--r-- | ruy/test.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1847,6 +1847,12 @@ void TestSet<LhsScalar, RhsScalar, AccumScalar, DstScalar>::MakeResultPaths() { paths_bitfield = get_ctx(&context)->GetRuntimeEnabledPaths(); } + // Disable the internal test-only variants of the StandardCpp path in + // benchmarks + if (benchmark) { + paths_bitfield = paths_bitfield & kAllPaths; + } + // Disable the internal test-only variants of the StandardCpp path on large // tests. // This constant be large enough to exercise some interesting BlockMap logic, |