diff options
Diffstat (limited to 'tests/main.cpp')
-rw-r--r-- | tests/main.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/main.cpp b/tests/main.cpp index bbb43c9a39..17342fc2c1 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -75,7 +75,11 @@ namespace arm_compute { namespace test { -std::unique_ptr<AssetsLibrary> library; +std::unique_ptr<AssetsLibrary> library; + +static constexpr uint32_t fixed_seed = 1; +std::unique_ptr<AssetsLibrary> fixed_library; + extern std::unique_ptr<ParametersLibrary> parameters; } // namespace test } // namespace arm_compute @@ -308,7 +312,8 @@ int main(int argc, char **argv) return 0; } - library = support::cpp14::make_unique<AssetsLibrary>(assets->value(), seed->value()); + library = support::cpp14::make_unique<AssetsLibrary>(assets->value(), seed->value()); + fixed_library = support::cpp14::make_unique<AssetsLibrary>(assets->value(), fixed_seed); if(!parser.validate()) { |