diff options
author | Mikael Olsson <mikael.olsson@arm.com> | 2024-02-16 11:04:46 +0100 |
---|---|---|
committer | Mikael Olsson <mikael.olsson@arm.com> | 2024-02-19 13:27:51 +0100 |
commit | dc18ceaa54957d5ac05292b363a5ac6fe479f409 (patch) | |
tree | b7fae5e1448ef4436e78c0c838f4a07e59ce3039 /utils/inference_runner/inference_runner.cpp | |
parent | 16be28550f0906e2bfff20b94dd373f59b4a2ccf (diff) | |
download | ethos-u-linux-driver-stack-dc18ceaa54957d5ac05292b363a5ac6fe479f409.tar.gz |
Add NPU device type to capabilities
In preparation to support the Linux kernel driver directly managing the
NPU without a subsystem. A NPU device type has been added to the
capabilities to be able to specify what kind of NPU is used.
Change-Id: I45345b7d75d234f821d70b858453d3af2a99194e
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'utils/inference_runner/inference_runner.cpp')
-rw-r--r-- | utils/inference_runner/inference_runner.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/inference_runner/inference_runner.cpp b/utils/inference_runner/inference_runner.cpp index d2546e2..531bd4e 100644 --- a/utils/inference_runner/inference_runner.cpp +++ b/utils/inference_runner/inference_runner.cpp @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> + * SPDX-FileCopyrightText: Copyright 2020-2024 Arm Limited and/or its affiliates <open-source-office@arm.com> * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may @@ -227,6 +227,7 @@ int main(int argc, char *argv[]) { << "\tdriver:" << capabilities.driver << endl << "\tmacs_per_cc:" << unsigned(capabilities.hwCfg.macsPerClockCycle) << endl << "\tcmd_stream_version:" << unsigned(capabilities.hwCfg.cmdStreamVersion) << endl + << "\ttype:" << capabilities.hwCfg.type << endl << "\tcustom_dma:" << std::boolalpha << capabilities.hwCfg.customDma << endl; /* Create network */ |