| 1 | // |
| 2 | // SPDX-FileCopyrightText: Copyright 2026 Arm Limited and/or its affiliates <open-source-office@arm.com> |
| 3 | // |
| 4 | // SPDX-License-Identifier: Apache-2.0 |
| 5 | // |
| 6 | |
| 7 | #include "test_config.hpp" |
| 8 | |
| 9 | namespace kai::test { |
| 10 | |
| 11 | TestConfig::TestConfig() : m_num_shapes(100) { |
| 12 | } |
| 13 | |
| 14 | TestConfig& TestConfig::Get() { |
| 15 | static TestConfig instance; |
| 16 | return instance; |
| 17 | } |
| 18 | |
| 19 | void TestConfig::set_num_shapes(size_t n) { |
| 20 | m_num_shapes = n; |
| 21 | } |
| 22 | |
| 23 | size_t TestConfig::num_shapes() const { |
| 24 | return m_num_shapes; |
| 25 | } |
| 26 | |
| 27 | } // namespace kai::test |