Elffuss BraidHub

kikocis/kleidiai public

main · 506 BRawPermalink
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
9namespace kai::test {
10
11TestConfig::TestConfig() : m_num_shapes(100) {
12}
13
14TestConfig& TestConfig::Get() {
15 static TestConfig instance;
16 return instance;
17}
18
19void TestConfig::set_num_shapes(size_t n) {
20 m_num_shapes = n;
21}
22
23size_t TestConfig::num_shapes() const {
24 return m_num_shapes;
25}
26
27} // namespace kai::test