install_dir : join_paths(ne_bindir, 'apptests')
)
-executable ('apptest_tvn_triv2_recurring',
- 'tvn_triv2_recurring.cc',
- include_directories : ne_apptest_inc,
- dependencies : [ne_test_utils_dep, thread_dep],
- link_with : ne_library_shared,
- install : true,
- install_rpath : ne_libdir,
- install_dir : join_paths(ne_bindir, 'apptests')
-)
+####
+# TODO Disable this test until VD I/F sync. is done
+#
+#executable ('apptest_tvn_triv2_recurring',
+# 'tvn_triv2_recurring.cc',
+# include_directories : ne_apptest_inc,
+# dependencies : [ne_test_utils_dep, thread_dep],
+# link_with : ne_library_shared,
+# install : true,
+# install_rpath : ne_libdir,
+# install_dir : join_paths(ne_bindir, 'apptests')
+#)
tinyxml2_dep = dependency ('tinyxml2')
executable ('apptest_tvn_triv2_xml',
/** @brief initilize the device handle */
int init (const std::string dir) {
dir_ = dir;
- return getNPUdeviceByTypeAny (&dev_, TRIV2_TYPE, 2);
+ /* use /dev/triv2-0 */
+ return getNPUdeviceByType (&dev_, TRIV2_TYPE, 0);
}
/** @brief run the inference (with dummy data) */
}
int prepare_input () {
- /** let's emulate external dmabuf using 8TOPS TRIV2 device */
- int status = getNPUdeviceByTypeAny (&dev_tmp_, TRIV2_TYPE, 8);
+ /* use /dev/triv2-1 for external dmabuf */
+ int status = getNPUdeviceByType (&dev_tmp_, TRIV2_TYPE, 1);
if (status != 0)
return status;