Elffuss BraidHub

kikocis/kleidiai public

main · 722 BRawPermalink
1//
2// SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
3//
4// SPDX-License-Identifier: Apache-2.0
5//
6
7#pragma once
8
9#include <cstddef>
10#include <iosfwd>
11#include <string_view>
12
13namespace kai::test {
14
15class DataFormat;
16
17/// Prints the matrix data to the output stream.
18///
19/// @param[in] os Output stream to write the data to.
20/// @param[in] name Matrix name.
21/// @param[in] data Data buffer.
22/// @param[in] format Data format.
23/// @param[in] height Number of rows.
24/// @param[in] width Number of columns.
25void print_matrix(
26 std::ostream& os, std::string_view name, const void* data, const DataFormat& format, size_t height, size_t width);
27
28} // namespace kai::test