aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMikael Olsson <mikael.olsson@arm.com>2023-06-12 15:00:55 +0200
committerMikael Olsson <mikael.olsson@arm.com>2023-08-09 15:11:11 +0200
commit308e7f1352bfdab8cc90be78a82b7ce4195301bc (patch)
treee64ebb166ff2cf63f5bb9e26ecc88314f859f8de /utils
parentf1cfe19a5fd6ccc07e6e86cbe5ab863f4b372418 (diff)
downloadethos-u-linux-driver-stack-308e7f1352bfdab8cc90be78a82b7ce4195301bc.tar.gz
Add kernel driver version check in driver library
The driver library will now check that it's compatible with the kernel driver in use by checking the kernel driver's version. The kernel driver version has also been made available to the library users and the Python wrapper has been updated accordingly. Change-Id: Ieae8c0bfc323f945038e7264eceeab90c833f76d Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/inference_runner/inference_runner.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/inference_runner/inference_runner.cpp b/utils/inference_runner/inference_runner.cpp
index 42b89fc..d53ab8c 100644
--- a/utils/inference_runner/inference_runner.cpp
+++ b/utils/inference_runner/inference_runner.cpp
@@ -211,6 +211,7 @@ int main(int argc, char *argv[]) {
try {
Device device;
+ cout << "Driver version:" << device.getDriverVersion() << endl;
cout << "Send Ping" << endl;
device.ioctl(ETHOSU_IOCTL_PING);