[TRIV2.3/API] Add new API to get a device instance with tops info
authorDongju Chae <dongju.chae@samsung.com>
Tue, 5 Jan 2021 01:23:03 +0000 (10:23 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Tue, 5 Jan 2021 09:45:14 +0000 (18:45 +0900)
commit8399e075c6101945d73b804e1246e1afb309f731
treed1c19cc3af16e55a077c770dcc694ad52a4c9339
parentc7e1a4b499f0ab5cf7d3a9c2627f1fb2ea828dbf
[TRIV2.3/API] Add new API to get a device instance with tops info

This patch adds new API to get a device instance with tops info.
It tries to find any available device with the given tops.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
13 files changed:
include/common/typedef.h
include/host/libnpuhost.h
src/host/ne-host.cc
tests/apptests/meson.build
tests/apptests/tvn_triv2.cc
tests/apptests/tvn_triv2_bulk.c [deleted file]
tests/apptests/tvn_triv2_bulk.cc [new file with mode: 0644]
tests/apptests/tvn_triv2_bulk_gem.c
tests/apptests/tvn_triv2_dmabuf.cc
tests/apptests/tvn_triv2_recurring.cc
tests/utils/ne_test_utils.cc
tests/utils/ne_test_utils.h
utils/trinity_smi/trinity-smi.cc